diff -r 3858a9d0f376 -r d321a507fc26 templates/view_event.html
--- a/templates/view_event.html Thu Apr 15 19:00:23 2010 +0530
+++ b/templates/view_event.html Thu Apr 15 19:19:08 2010 +0530
@@ -5,19 +5,17 @@
{{event.description|linebreaksbr}}
Duration: {{event.start_date|date:"d M Y"}} to {{event.stop_date|date:"d M Y"}}
Venue: {{event.venue}}
-
- {% if user.is_authenticated %}
- {% if event.registration_is_open %}
- {% if is_attendee %}
- You have registered for this workshop.
- {% else %}
+
+ {% if event.registration_is_open %}
+ {% if user.is_authenticated %}
+ {% if not is_attendee %}
Register for this workshop.
{% endif %}
{% else %}
- Registration for this workshop is not open at this moment.
+ Register for this workshop.
{% endif %}
{% else %}
- Register for this workshop.
+ Registration for this workshop is not open at this moment.
{% endif %}
{% if can_submit_feedback %}