templates/view_event.html
changeset 34 c12a0b773720
parent 26 9d18daf5277f
child 36 cd0f61fa31f1
equal deleted inserted replaced
33:6a68ef9597f9 34:c12a0b773720
     6 	<b>Duration:</b> {{event.start_date|date:"d M Y"}} to {{event.stop_date|date:"d M Y"}}<br /><br />
     6 	<b>Duration:</b> {{event.start_date|date:"d M Y"}} to {{event.stop_date|date:"d M Y"}}<br /><br />
     7 	
     7 	
     8 	{% if user.is_authenticated %}
     8 	{% if user.is_authenticated %}
     9 		{% if event.registration_is_open %}
     9 		{% if event.registration_is_open %}
    10 			{% if is_attendee %}
    10 			{% if is_attendee %}
    11 				You have registered for this workshop.
    11 				You have registered for this workshop.<br />
    12 			{% else %}
    12 			{% else %}
    13 				<a href="/reg/event/register/{{event.key}}">Register for the workshop.</a><br />
    13 				<a href="/reg/event/register/{{event.key}}">Register for this workshop.</a><br />
    14 			{% endif %}	
    14 			{% endif %}	
    15 		{% else %}
    15 		{% else %}
    16 			Registration for this workshop is not open at this moment.
    16 			Registration for this workshop is not open at this moment.<br />
    17 		{% endif %}
    17 		{% endif %}
    18 	{% else %}
    18 	{% else %}
    19 		You must be a registered user to register for this workshop.
    19 		You must be a registered user to register for this workshop.<br />
    20 	{% endif %}
    20 	{% endif %}
    21 	
    21 	
    22 	{% if can_submit_feedback %}
    22 	{% if can_submit_feedback %}
    23 		<a href="/feedback/submit/{{event.key}}">Click here</a> to submit feedback for day {{event.feedback_status}}.<br />
    23 		<a href="/feedback/submit/{{event.key}}">Click here</a> to submit feedback for day {{event.feedback_status}}.<br />
    24 	{% endif %}
    24 	{% endif %}
    25 	
    25 	
    26 	{% if is_org %}
    26 	{% if is_org %}
    27 		<a href="/reg/event/attendees/{{event.key}}">Click here</a> to view list of people registered for the workshop. <br />
    27 		<a href="/reg/event/attendees/{{event.key}}">Click here</a> to view list of people registered for the workshop. <br />
       
    28 		<a href="/feedback/list/{{event.key}}">Click here</a> to see the feedbacks that we submitted.<br /><br />
    28 		{% if user.is_staff %}
    29 		{% if user.is_staff %}
    29 			{% if event.registration_is_open %}
    30 			{% if event.registration_is_open %}
    30 				<a href="/reg/event/registration/close/{{event.key}}">Click here</a> to close the registration.<br />
    31 				<a href="/reg/event/registration/close/{{event.key}}">Click here</a> to close the registration.<br />
    31 			{% else %}
    32 			{% else %}
    32 				<a href="/reg/event/registration/open/{{event.key}}">Click here</a> to open the registration.<br />
    33 				<a href="/reg/event/registration/open/{{event.key}}">Click here</a> to open the registration.<br />
    39 			{% endifequal %}
    40 			{% endifequal %}
    40 			
    41 			
    41 			{% ifequal event.feedback_status "0" %}
    42 			{% ifequal event.feedback_status "0" %}
    42 				<a href="/reg/event/feedback/open/{{event.key}}">Click here</a> to open the feedback.<br />
    43 				<a href="/reg/event/feedback/open/{{event.key}}">Click here</a> to open the feedback.<br />
    43 			{% else %}
    44 			{% else %}
    44 				<a href="/feedback/list/{{event.key}}">Click here</a> to see the feedbacks that we submitted.<br />
       
    45 				<a href="/reg/event/feedback/close/{{event.key}}">Click here</a> to close the feedback for day {{event.feedback_status}}.<br />
    45 				<a href="/reg/event/feedback/close/{{event.key}}">Click here</a> to close the feedback for day {{event.feedback_status}}.<br />
    46 			{% endifequal %}
    46 			{% endifequal %}
    47 		{% endif %}
    47 		{% endif %}
    48 	{% endif %}
    48 	{% endif %}
    49 	
    49