templates/index.html
changeset 75 bda9ee536063
parent 58 a26c82f593f0
child 85 eb7c03eb3bb4
equal deleted inserted replaced
74:c47a6c63eaa7 75:bda9ee536063
    11 		{% if user.is_active %}
    11 		{% if user.is_active %}
    12 			{% if registered_events %}
    12 			{% if registered_events %}
    13 				You have registered for the following workshops:
    13 				You have registered for the following workshops:
    14 				<ul>
    14 				<ul>
    15 				{% for a_event in registered_events %}
    15 				{% for a_event in registered_events %}
    16 					<li><a href="/reg/event/view/{{a_event.key}}">{{a_event.title}}</a></li>
    16 					<li><a href="/workshop/registration/event/view/{{a_event.key}}">{{a_event.title}}</a></li>
    17 				{% endfor %}
    17 				{% endfor %}
    18 				</ul>
    18 				</ul>
    19 			{% endif %}
    19 			{% endif %}
    20 		{% else %}
    20 		{% else %}
    21 			Your account is inactive. An activation email has been sent to your email address.<br />
    21 			Your account is inactive. An activation email has been sent to your email address.<br />
    22 			<a href="/reg/resend_activation/?email={{user.email}}">Click here</a> to resend the activation email.<br />
    22 			<a href="/workshop/registration/resend_activation/?email={{user.email}}">Click here</a> to resend the activation email.<br />
    23 		{% endif %}
    23 		{% endif %}
    24 	{% endif %}
    24 	{% endif %}
    25 	
    25 	
    26 	{% if user.is_staff %}
    26 	{% if user.is_staff %}
    27 		<a href="/reg/event/create">Create an event</a><br />	
    27 		<a href="/workshop/registration/event/create">Create an event</a><br />	
    28 	{% endif %}
    28 	{% endif %}
    29 {% endblock %}
    29 {% endblock %}