view_event.html
author nishanth
Mon, 12 Apr 2010 11:23:27 +0530
changeset 11 334550460bd7
parent 10 c52d170969f0
child 12 f57b0a7f24d9
permissions -rw-r--r--
added the view event functionality and submitting feedback according to the status .
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 />
334550460bd7 added the view event functionality and submitting feedback according to the status .
nishanth
parents: 10
diff changeset
    17
	
334550460bd7 added the view event functionality and submitting feedback according to the status .
nishanth
parents: 10
diff changeset
    18
	{% if is_org %}
334550460bd7 added the view event functionality and submitting feedback according to the status .
nishanth
parents: 10
diff changeset
    19
		{% if event.registration_is_open %}
334550460bd7 added the view event functionality and submitting feedback according to the status .
nishanth
parents: 10
diff changeset
    20
			<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
    21
		{% else %}
334550460bd7 added the view event functionality and submitting feedback according to the status .
nishanth
parents: 10
diff changeset
    22
			<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
    23
		{% endif %}
334550460bd7 added the view event functionality and submitting feedback according to the status .
nishanth
parents: 10
diff changeset
    24
		
334550460bd7 added the view event functionality and submitting feedback according to the status .
nishanth
parents: 10
diff changeset
    25
		{% ifequal quiz_status "00" %}
334550460bd7 added the view event functionality and submitting feedback according to the status .
nishanth
parents: 10
diff changeset
    26
			<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
    27
		{% else %}
334550460bd7 added the view event functionality and submitting feedback according to the status .
nishanth
parents: 10
diff changeset
    28
			<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
    29
		{% endifequal %}
334550460bd7 added the view event functionality and submitting feedback according to the status .
nishanth
parents: 10
diff changeset
    30
		
334550460bd7 added the view event functionality and submitting feedback according to the status .
nishanth
parents: 10
diff changeset
    31
		{% ifequal feedback_status "0" %}
334550460bd7 added the view event functionality and submitting feedback according to the status .
nishanth
parents: 10
diff changeset
    32
			<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
    33
		{% else %}
334550460bd7 added the view event functionality and submitting feedback according to the status .
nishanth
parents: 10
diff changeset
    34
			<a href="/feedback/list/{{event.key}}">Click here</a> to see the feedbacks that we submitted.<br />
334550460bd7 added the view event functionality and submitting feedback according to the status .
nishanth
parents: 10
diff changeset
    35
			<a href="/reg/event/feedback/open/{{event.key}}">Click here</a> to close the feedback.<br />
334550460bd7 added the view event functionality and submitting feedback according to the status .
nishanth
parents: 10
diff changeset
    36
		{% endifequal %}
334550460bd7 added the view event functionality and submitting feedback according to the status .
nishanth
parents: 10
diff changeset
    37
	{% endif %}
334550460bd7 added the view event functionality and submitting feedback according to the status .
nishanth
parents: 10
diff changeset
    38
		
334550460bd7 added the view event functionality and submitting feedback according to the status .
nishanth
parents: 10
diff changeset
    39
		
334550460bd7 added the view event functionality and submitting feedback according to the status .
nishanth
parents: 10
diff changeset
    40
	{% endif %}
10
c52d170969f0 quite a few changes. modified models and feedback views .
nishanth
parents:
diff changeset
    41
{% endblock %}