From 8fda609db178a03c0fd57f2c19511a13ce85bfc4 Mon Sep 17 00:00:00 2001 From: Sanj Date: Mon, 4 Jul 2011 22:01:22 +0530 Subject: [PATCH] make logout look pretty --- edgware/templates/main_base.html | 7 ++++++- edgware/templates/registration/logged_out.html | 6 +++++- 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/edgware/templates/main_base.html b/edgware/templates/main_base.html index 94a5b15..2e24bb5 100644 --- a/edgware/templates/main_base.html +++ b/edgware/templates/main_base.html @@ -51,8 +51,13 @@ FAQ
  •  
  • +
  • - Login/Sign Up + {% if user.is_authenticated %} + Logout + {% else %} + Login/Sign Up + {% endif %}
  • diff --git a/edgware/templates/registration/logged_out.html b/edgware/templates/registration/logged_out.html index d690653..c0abc22 100644 --- a/edgware/templates/registration/logged_out.html +++ b/edgware/templates/registration/logged_out.html @@ -1 +1,5 @@ -Logged out \ No newline at end of file +{% extends 'main_base.html' %} + +{% block content %} +
    You have been logged out.
    Thanks for using the site, and see you again soon!
    Bye!
    :)
    +{% endblock %}