templates/view_event.html
changeset 75 bda9ee536063
parent 68 73720e19d222
child 82 b144e1da529d
equal deleted inserted replaced
74:c47a6c63eaa7 75:bda9ee536063
     7 	<b>Venue:</b> {{event.venue}} <br /><br />
     7 	<b>Venue:</b> {{event.venue}} <br /><br />
     8 
     8 
     9 	{% if event.registration_is_open %}	
     9 	{% if event.registration_is_open %}	
    10 		{% if user.is_authenticated %}
    10 		{% if user.is_authenticated %}
    11 			{% if not is_attendee %}
    11 			{% if not is_attendee %}
    12 				<a href="/reg/event/register/{{event.key}}">Register for this workshop.</a><br />
    12 				<a href="/workshop/registration/event/register/{{event.key}}">Register for this workshop.</a><br />
    13 			{% endif %}	
    13 			{% endif %}	
    14 		{% else %}
    14 		{% else %}
    15 			<a href="/reg/register/{{event.key}}">Register for this workshop</a>.<br />
    15 			<a href="/workshop/registration/register/{{event.key}}">Register for this workshop</a>.<br />
    16 		{% endif %}
    16 		{% endif %}
    17 	{% else %}
    17 	{% else %}
    18 		Registration for this workshop is not open at this moment.<br />
    18 		Registration for this workshop is not open at this moment.<br />
    19 	{% endif %}
    19 	{% endif %}
    20 	
    20 	
    21 	{% if can_submit_feedback %}
    21 	{% if can_submit_feedback %}
    22 		<a href="/feedback/submit/{{event.key}}">Submit feedback for day {{event.feedback_status}} of {{event.title}}<br />
    22 		<a href="/feedback/submit/{{event.key}}">Submit feedback for day {{event.feedback_status}} of {{event.title}}<br />
    23 	{% endif %}
    23 	{% endif %}
    24 	<br />
    24 	<br />
    25 	{% if is_org %}
    25 	{% if is_org %}
    26 		<a href="/reg/event/attendees/{{event.key}}">View list of people registered for the workshop</a> <br />
    26 		<a href="/workshop/registration/event/attendees/{{event.key}}">View list of people registered for the workshop</a> <br />
    27 		<a href="/feedback/list/{{event.key}}">View submitted feedbacks</a><br />
    27 		<a href="/feedback/list/{{event.key}}">View submitted feedbacks</a><br />
    28 		<a href="/feedback/report/{{event.key}}">View a report of the workshop</a><br /><br />
    28 		<a href="/feedback/report/{{event.key}}">View a report of the workshop</a><br /><br />
    29 		{% if user.is_staff %}
    29 		{% if user.is_staff %}
    30 			{% if event.registration_is_open %}
    30 			{% if event.registration_is_open %}
    31 				<a href="/reg/event/registration/close/{{event.key}}">Close registration</a><br />
    31 				<a href="/workshop/registration/event/registration/close/{{event.key}}">Close registration</a><br />
    32 			{% else %}
    32 			{% else %}
    33 				<a href="/reg/event/registration/open/{{event.key}}">Open registration</a><br />
    33 				<a href="/workshop/registration/event/registration/open/{{event.key}}">Open registration</a><br />
    34 			{% endif %}
    34 			{% endif %}
    35 <!--			
    35 <!--			
    36 			{% ifequal event.quiz_status "00" %}
    36 			{% ifequal event.quiz_status "00" %}
    37 				<a href="/reg/event/quiz/open/{{event.key}}">Click here</a> to open quiz.<br />
    37 				<a href="/workshop/registration/event/quiz/open/{{event.key}}">Click here</a> to open quiz.<br />
    38 			{% else %}
    38 			{% else %}
    39 				<a href="/reg/event/registration/close/{{event.key}}">Click here</a> to close the registration.<br />
    39 				<a href="/workshop/registration/event/registration/close/{{event.key}}">Click here</a> to close the registration.<br />
    40 			{% endifequal %}
    40 			{% endifequal %}
    41 	-->		
    41 	-->		
    42 			{% ifequal event.feedback_status "0" %}
    42 			{% ifequal event.feedback_status "0" %}
    43 				<a href="/reg/event/feedback/open/{{event.key}}">Open feedback</a><br />
    43 				<a href="/workshop/registration/event/feedback/open/{{event.key}}">Open feedback</a><br />
    44 			{% else %}
    44 			{% else %}
    45 				<a href="/reg/event/feedback/close/{{event.key}}">Close feedback for day {{event.feedback_status}}</a><br />
    45 				<a href="/workshop/registration/event/feedback/close/{{event.key}}">Close feedback for day {{event.feedback_status}}</a><br />
    46 			{% endifequal %}
    46 			{% endifequal %}
    47 		{% endif %}
    47 		{% endif %}
    48 	{% endif %}
    48 	{% endif %}
    49 	
    49 	
    50 {% endblock %}
    50 {% endblock %}