diff options
Diffstat (limited to 'website/templates')
-rw-r--r-- | website/templates/abstract_details.html | 2 | ||||
-rw-r--r-- | website/templates/list_abstracts.html | 7 | ||||
-rw-r--r-- | website/templates/list_abstracts_anonymous.html | 19 | ||||
-rw-r--r-- | website/templates/not_allowed.html | 11 |
4 files changed, 36 insertions, 3 deletions
diff --git a/website/templates/abstract_details.html b/website/templates/abstract_details.html index 07f5f75..5323883 100644 --- a/website/templates/abstract_details.html +++ b/website/templates/abstract_details.html @@ -7,10 +7,8 @@ {% endblock %} {% block userblock %} -{% if current_user != "anonymous" %} <li><a href="#"> {{ current_user }}</a></li> <li><a href="/2013/accounts/logout">Logout</a></li> -{% endif %} {% endblock %} diff --git a/website/templates/list_abstracts.html b/website/templates/list_abstracts.html index ebf6d54..2d75893 100644 --- a/website/templates/list_abstracts.html +++ b/website/templates/list_abstracts.html @@ -5,6 +5,12 @@ <li><a href="{% url 'website:list-abstracts'%}">List of Abstracts</a></li> {% endblock %} +{% block userblock %} +<li><a href="#"> {{ user }}</a></li> +<li><a href="/2013/accounts/logout">Logout</a></li> +{% endblock %} + + {% block content %} <center><h4>List of Abstracts</h4></center> @@ -15,5 +21,4 @@ <tr><td><a href="{% url 'website:abstract-details' paper.id %}">{{ paper.title }}</a></td><td>{{ paper.user.first_name }} {{ paper.user.last_name }}</td></tr> {% endfor %} </table> -Note: These are not selected abstracts. Our committee is reviewing the abstracts & list of same will be published soon. {% endblock %} diff --git a/website/templates/list_abstracts_anonymous.html b/website/templates/list_abstracts_anonymous.html new file mode 100644 index 0000000..bce3db3 --- /dev/null +++ b/website/templates/list_abstracts_anonymous.html @@ -0,0 +1,19 @@ +{% extends 'page.html'%} + +{% block breadcrumbs %} +<li><a href="{% url 'website:invited-speakers'%}">Invited Speakers</a></li> +<li><a href="{% url 'website:list-abstracts'%}">List of Abstracts</a></li> +{% endblock %} + + +{% block content %} +<center><h4>List of Abstracts</h4></center> +<table align="center"> +<th>Title +<th>Speaker +{% for paper in papers %} + <tr><td>{{ paper.title }}</td><td>{{ paper.user.first_name }} {{ paper.user.last_name }}</td></tr> +{% endfor %} +</table> +Note: These are not selected abstracts. Our committee is reviewing the abstracts & list of same will be published soon. +{% endblock %} diff --git a/website/templates/not_allowed.html b/website/templates/not_allowed.html new file mode 100644 index 0000000..c5e8e4d --- /dev/null +++ b/website/templates/not_allowed.html @@ -0,0 +1,11 @@ +{% extends 'page.html'%} + +{% block breadcrumbs %} +<li><a href="{% url 'website:invited-speakers'%}">Invited Speakers</a></li> +<li><a href="{% url 'website:list-abstracts'%}">List of Abstracts</a></li> +{% endblock %} + + +{% block content %} +Oops, Sorry ! You are not allowed to view this page. +{% endblock %} |