From 45412823f4bb9aeeeb26c72ebe60ea328eec4ec9 Mon Sep 17 00:00:00 2001 From: Aamir Khan Date: Wed, 20 Jun 2012 04:44:58 -0400 Subject: indenting template code using http://jsbeautifier.org --- templates/base.html | 154 +++++++++++++++++++++------------------------------- 1 file changed, 62 insertions(+), 92 deletions(-) diff --git a/templates/base.html b/templates/base.html index 25b079f..c23b369 100644 --- a/templates/base.html +++ b/templates/base.html @@ -1,95 +1,65 @@ - - - - - {% block title %}{{ app_name }}{% endblock %} - - - - - - {% block additional_stylesheets %} - {% endblock %} - - - -{% load i18n %} - - - -
- {% block header %} -
- - {% block usertools %} - {% if user.is_authenticated %} -
- {% if user.active %} - Logged in as: {% filter force_escape %}{% firstof user.first_name user.username %}{% endfilter %} - {% else %}{% trans 'Welcome,' %} - {% filter force_escape %}{% firstof user.first_name user.username %}{% endfilter %}. - {% endif %} - -
-
  • Logout - {% else %}
  • Login
  • - {% endif %} - {% endblock %} - - {% if month_participants and month_discussions %} -
      -
    • {{month_participants}} participants
    • -
    • {{month_discussions}} discussions
    • -
    • 1 saved
    • -
    - {% endif %} -
    - {% if list_address %} -

    - - {{list_address}} - -

    -

    - - All lists - -

    - - {% endif %} -
    - - New thread - -
    -
    -
    - {% endblock %} -
    - - - {% block content %} - {% endblock %} - - - - {% block additionaljs %} - {% endblock %} - - + + + + + {% block title %}{{ app_name }}{% endblock %} + + + + {% block additional_stylesheets %} {% endblock %} + + {% load i18n %} + + + +
    {% block header %} +
    + {% block usertools %} {% if user.is_authenticated %} +
    {% if user.active %} Logged in as: + {% filter force_escape %}{% firstof user.first_name user.username %}{% endfilter %}{% else %}{% trans 'Welcome,' %} + {% filter force_escape %}{% firstof user.first_name user.username %}{% + endfilter %}. {% endif %} + +
    +
  • + Logout{% else %} +
  • + Login +
  • {% endif %} {% endblock %} {% if month_participants and month_discussions + %} +
      +
    • {{month_participants}} participants
    • +
    • {{month_discussions}} discussions
    • +
    • 1 saved
    • +
    {% endif %}
    {% if list_address %} +

    + {{list_address}} +

    +

    + All lists +

    + {% endif %} +
    + New thread +
    +
    +
    {% endblock %} +
    + + {% block content %} {% endblock %} + + + {% block additionaljs %} {% endblock %} -- cgit