templates/index.html
changeset 26 9d18daf5277f
parent 19 115860e87238
child 34 c12a0b773720
equal deleted inserted replaced
25:17966ca75ca9 26:9d18daf5277f
     1 {% extends "base.html" %}
     1 {% extends "base.html" %}
     2 {% block content %}
     2 {% block content %}
       
     3 	{% if not user.is_authenticated %}
       
     4 		Welcome Guest.<br />
       
     5 		<br />
       
     6 		You can know about workshops by clicking on workshops link on the left.<br />		
       
     7 	{% else %}
       
     8 		Welcome {{user.get_full_name}}<br />
       
     9 		<br />Workshops you have registered for:
       
    10 	{% endif %}
     3 	{% if user.is_staff %}
    11 	{% if user.is_staff %}
     4 		<a href="/reg/event/create">Create an event</a><br />	
    12 		<a href="/reg/event/create">Create an event</a><br />	
     5 	{% endif %}
    13 	{% endif %}
     6 	<a href="/reg/event/list">List of Workshops</a> 
       
     7 
       
     8 {% endblock %}
    14 {% endblock %}