cqtu/templates/contest/index.html

38 lines
1.0 KiB
HTML
Raw Normal View History

2017-01-20 14:28:59 +01:00
{% extends "base.html" %}
{% block content %}
<h2>Welcome, {{ user }}</h2>
{% if user.ref %}
{# user has a reference, we can start logging QSOs! #}
<div class="row">
<div class="col-sm-12">
<p>
Welcome to {{ contest }}!
</p><p>
You got yourself a ref registered. Very nice. Now you are ready to go! So go ahead and <a href="{% url "contest:log" %}">log some QSOs</a>!
</p>
</div>
</div>
{% else %}
<div class="row">
<div class="col-sm-12">
<p>
Hey you, {{ user }}, you don't have a <abbr title="You know, like, location, where you are">ref</abbr>!
You should <strong>get your ref registered</strong>!
Get yourself registered with your callsign and your current location by calling out to <strong>DK0TU</strong>
on {{ contest.callQrg }}.
</p>
</div>
</div>
{% endif %}
{% if user.is_staff %}
<div class="row">
<div class="col-sm-12">
<p>Hey, you are <strong>staff</strong>. Do you want to <a href="{% url "contest:registerRefs" %}">register people</a>?</p>
</div>
</div>
{% endif %}
{% endblock %}