templates/index.html
author nishanth
Tue, 13 Apr 2010 14:50:48 +0530
changeset 26 9d18daf5277f
parent 19 115860e87238
child 34 c12a0b773720
permissions -rw-r--r--
now the "you must register" link appears on view event page .

{% extends "base.html" %}
{% block content %}
	{% if not user.is_authenticated %}
		Welcome Guest.<br />
		<br />
		You can know about workshops by clicking on workshops link on the left.<br />		
	{% else %}
		Welcome {{user.get_full_name}}<br />
		<br />Workshops you have registered for:
	{% endif %}
	{% if user.is_staff %}
		<a href="/reg/event/create">Create an event</a><br />	
	{% endif %}
{% endblock %}