templates/index.html
changeset 48 9a52ca561c1d
parent 47 e1895d2ede97
child 50 fd37bbece439
equal deleted inserted replaced
47:e1895d2ede97 48:9a52ca561c1d
     3 	{% if not user.is_authenticated %}
     3 	{% if not user.is_authenticated %}
     4 		Welcome Guest.<br />
     4 		Welcome Guest.<br />
     5 		<br />
     5 		<br />
     6 		You can know about workshops by clicking on workshops link on the left.<br />		
     6 		You can know about workshops by clicking on workshops link on the left.<br />		
     7 	{% else %}
     7 	{% else %}
     8 		Welcome {{user.get_full_name}}<br />
     8 		Welcome {{user.get_full_name}}<br /><br >
     9 	{% endif %}
     9 	{% endif %}
    10 	
    10 	
    11 	{% if user.is_active and registered_events %}
    11 	{% if user.is_active and registered_events %}
    12 		Workshops you have registered for:
    12 		You have registered for the following workshops:
    13 		<ul>
    13 		<ul>
    14 		{% for a_event in registered_events %}
    14 		{% for a_event in registered_events %}
    15 			<li><a href="/reg/event/view/{{a_event.key}}">{{a_event.title}}</a></li>
    15 			<li><a href="/reg/event/view/{{a_event.key}}">{{a_event.title}}</a></li>
    16 		{% endfor %}
    16 		{% endfor %}
    17 		</ul>
    17 		</ul>