view_event.html
author nishanth
Mon, 12 Apr 2010 12:08:19 +0530
changeset 12 f57b0a7f24d9
parent 11 334550460bd7
child 13 05248e27104a
permissions -rw-r--r--
added closing and opening of feedback.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
10
c52d170969f0 quite a few changes. modified models and feedback views .
nishanth
parents:
diff changeset
     1
{% extends "base.html" %}
c52d170969f0 quite a few changes. modified models and feedback views .
nishanth
parents:
diff changeset
     2
{% block content %}
11
334550460bd7 added the view event functionality and submitting feedback according to the status .
nishanth
parents: 10
diff changeset
     3
	<h3>{{ event.title }}</h3><br />
334550460bd7 added the view event functionality and submitting feedback according to the status .
nishanth
parents: 10
diff changeset
     4
	Description:<br />
334550460bd7 added the view event functionality and submitting feedback according to the status .
nishanth
parents: 10
diff changeset
     5
	{{event.description}}<br />
334550460bd7 added the view event functionality and submitting feedback according to the status .
nishanth
parents: 10
diff changeset
     6
	duration of the workshop: {{event.start_date}} to {{event.stop_date}}<br />
334550460bd7 added the view event functionality and submitting feedback according to the status .
nishanth
parents: 10
diff changeset
     7
	{% if not is_guest %}
334550460bd7 added the view event functionality and submitting feedback according to the status .
nishanth
parents: 10
diff changeset
     8
		{% if is_attendee %}
334550460bd7 added the view event functionality and submitting feedback according to the status .
nishanth
parents: 10
diff changeset
     9
			You have registered for this workshop.
334550460bd7 added the view event functionality and submitting feedback according to the status .
nishanth
parents: 10
diff changeset
    10
		{% else %}
334550460bd7 added the view event functionality and submitting feedback according to the status .
nishanth
parents: 10
diff changeset
    11
			<a href="/reg/event/register/{{event.key}}">Click here</a> to register for the workshop.<br />
334550460bd7 added the view event functionality and submitting feedback according to the status .
nishanth
parents: 10
diff changeset
    12
		{% endif %}
334550460bd7 added the view event functionality and submitting feedback according to the status .
nishanth
parents: 10
diff changeset
    13
	{% endif %}
334550460bd7 added the view event functionality and submitting feedback according to the status .
nishanth
parents: 10
diff changeset
    14
	
334550460bd7 added the view event functionality and submitting feedback according to the status .
nishanth
parents: 10
diff changeset
    15
	{% if can_submit_feedback %}
334550460bd7 added the view event functionality and submitting feedback according to the status .
nishanth
parents: 10
diff changeset
    16
		<a href="/feedback/submit/{{event.key}}">Click here</a> to submit feedback for today's session.<br />
12
f57b0a7f24d9 added closing and opening of feedback.
nishanth
parents: 11
diff changeset
    17
	{% endif %}
11
334550460bd7 added the view event functionality and submitting feedback according to the status .
nishanth
parents: 10
diff changeset
    18
	
334550460bd7 added the view event functionality and submitting feedback according to the status .
nishanth
parents: 10
diff changeset
    19
	{% if is_org %}
334550460bd7 added the view event functionality and submitting feedback according to the status .
nishanth
parents: 10
diff changeset
    20
		{% if event.registration_is_open %}
334550460bd7 added the view event functionality and submitting feedback according to the status .
nishanth
parents: 10
diff changeset
    21
			<a href="/reg/event/registration/close/{{event.key}}">Click here</a> to close the registration.<br />
334550460bd7 added the view event functionality and submitting feedback according to the status .
nishanth
parents: 10
diff changeset
    22
		{% else %}
334550460bd7 added the view event functionality and submitting feedback according to the status .
nishanth
parents: 10
diff changeset
    23
			<a href="/reg/event/registration/open/{{event.key}}">Click here</a> to open the registration.<br />
334550460bd7 added the view event functionality and submitting feedback according to the status .
nishanth
parents: 10
diff changeset
    24
		{% endif %}
334550460bd7 added the view event functionality and submitting feedback according to the status .
nishanth
parents: 10
diff changeset
    25
		
12
f57b0a7f24d9 added closing and opening of feedback.
nishanth
parents: 11
diff changeset
    26
		{% ifequal event.quiz_status "00" %}
11
334550460bd7 added the view event functionality and submitting feedback according to the status .
nishanth
parents: 10
diff changeset
    27
			<a href="/reg/event/quiz/open/{{event.key}}">Click here</a> to open quiz.<br />
334550460bd7 added the view event functionality and submitting feedback according to the status .
nishanth
parents: 10
diff changeset
    28
		{% else %}
334550460bd7 added the view event functionality and submitting feedback according to the status .
nishanth
parents: 10
diff changeset
    29
			<a href="/reg/event/registration/close/{{event.key}}">Click here</a> to close the registration.<br />
334550460bd7 added the view event functionality and submitting feedback according to the status .
nishanth
parents: 10
diff changeset
    30
		{% endifequal %}
334550460bd7 added the view event functionality and submitting feedback according to the status .
nishanth
parents: 10
diff changeset
    31
		
12
f57b0a7f24d9 added closing and opening of feedback.
nishanth
parents: 11
diff changeset
    32
		{% ifequal event.feedback_status "0" %}
11
334550460bd7 added the view event functionality and submitting feedback according to the status .
nishanth
parents: 10
diff changeset
    33
			<a href="/reg/event/feedback/open/{{event.key}}">Click here</a> to open the feedback.<br />
334550460bd7 added the view event functionality and submitting feedback according to the status .
nishanth
parents: 10
diff changeset
    34
		{% else %}
334550460bd7 added the view event functionality and submitting feedback according to the status .
nishanth
parents: 10
diff changeset
    35
			<a href="/feedback/list/{{event.key}}">Click here</a> to see the feedbacks that we submitted.<br />
12
f57b0a7f24d9 added closing and opening of feedback.
nishanth
parents: 11
diff changeset
    36
			<a href="/reg/event/feedback/close/{{event.key}}">Click here</a> to close the feedback for day {{event.feedback_status}}.<br />
11
334550460bd7 added the view event functionality and submitting feedback according to the status .
nishanth
parents: 10
diff changeset
    37
		{% endifequal %}
334550460bd7 added the view event functionality and submitting feedback according to the status .
nishanth
parents: 10
diff changeset
    38
	{% endif %}
12
f57b0a7f24d9 added closing and opening of feedback.
nishanth
parents: 11
diff changeset
    39
	
10
c52d170969f0 quite a few changes. modified models and feedback views .
nishanth
parents:
diff changeset
    40
{% endblock %}