Ticket #158: base-changes.diff

File base-changes.diff, 1.3 KB (added by Manuzhai, 19 years ago)

Patch to accomplish above behavior.

  • base.html

     
    2020        {% block branding %}{% endblock %}
    2121        </div>
    2222        {% if not user.is_anonymous %}
    23         <div id="user-tools">Welcome, <strong>{% if user.first_name %}{{ user.first_name }}{% else %}{{ user.username }}{% endif %}</strong>. <br />{% block userlinks %}{% comment %}<a href="/admin/password_change/">Change password</a> / {% endcomment %}<a href="/admin/logout/">Log out</a>{% endblock %}</div>
     23        <div id="user-tools">Welcome, <strong>{% if user.first_name %}{{ user.first_name }}{% else %}{{ user.username }}{% endif %}</strong>. <br />{% block userlinks %}       <a href="/admin/password_change/">Change password</a> / <a href="/admin/logout/">Log out</a>{% endblock %}</div>
    2424        {% endif %}
    2525        {% block nav-global %}{% endblock %}
    2626        <br class="clear" />
    2727    </div>
    2828    <!-- END Header -->
    29     {% block breadcrumbs %}<div class="breadcrumbs"><a href="/">Home</a>{% if title %} &rsaquo; {{ title }}{% endif %}</div>{% endblock %}
     29    {% block breadcrumbs %}<div class="breadcrumbs"><a href="/admin/">Home</a>{% if title %} &rsaquo; {{ title }}{% endif %}</div>{% endblock %}
    3030    {% endif %}
    3131
    3232        {% if messages %}
Back to Top