make logout look pretty

This commit is contained in:
Sanj 2011-07-04 22:01:22 +05:30
parent e1f349982f
commit 8fda609db1
2 changed files with 11 additions and 2 deletions

View File

@ -51,8 +51,13 @@
<a href="faq" title="Frequently Asked Questions">FAQ</a>
</li>
<li> &nbsp;</li>
<li>
<a href="account" title="Login / Sign Up">Login/Sign Up</a>
{% if user.is_authenticated %}
<a href="logout" title="Logout">Logout</a>
{% else %}
<a href="account" title="Login / Sign Up">Login/Sign Up</a>
{% endif %}
</li>

View File

@ -1 +1,5 @@
Logged out
{% extends 'main_base.html' %}
{% block content %}
<div id="loggedOut">You have been logged out. <br />Thanks for using the site, and see you again soon!<br /> Bye!<br /> :)</div>
{% endblock %}