Ticket #893: admin-templates.diff

File admin-templates.diff, 2.3 KB (added by deric <deric@…>, 19 years ago)
  • change_list.html

     
    11{% extends "admin/base_site" %}
    22{% load adminmedia admin_list i18n %}
    33{% block bodyclass %}change-list{% endblock %}
     4{% block userlinks %}<a href="../../password_change/">{% trans 'Change password' %}</a> / <a href="../../logout/">{% trans 'Log out' %}</a>{% endblock %}
    45{% if not is_popup %}{% block breadcrumbs %}<div class="breadcrumbs"><a href="../../">{% trans "Home" %}</a> &rsaquo; {{ cl.opts.verbose_name_plural|capfirst }} </div>{% endblock %}{% endif %}
    56{% block coltype %}flex{% endblock %}
    67{% block content %}
  • change_form.html

     
    55{% endblock %}
    66{% block coltype %}{{ bound_manipulator.coltype }}{% endblock %}
    77{% block bodyclass %}{{ app_label }}-{{ bound_manipulator.object_name.lower }} change-form{% endblock %}
     8{% block userlinks %}<a href="../../../password_change/">{% trans 'Change password' %}</a> / <a href="../../../logout/">{% trans 'Log out' %}</a>{% endblock %}
    89{% block breadcrumbs %}{% if not is_popup %}
    910<div class="breadcrumbs">
    1011     <a href="../../../">{% trans "Home" %}</a> &rsaquo;
  • base.html

     
    2020        {% block branding %}{% endblock %}
    2121        </div>
    2222        {% if not user.is_anonymous %}
    23         <div id="user-tools">{% trans 'Welcome,' %} <strong>{% if user.first_name %}{{ user.first_name }}{% else %}{{ user.username }}{% endif %}</strong>. <br />{% block userlinks %}<a href="/admin/password_change/">{% trans 'Change password' %}</a> / <a href="/admin/logout/">{% trans 'Log out' %}</a>{% endblock %}</div>
     23        <div id="user-tools">{% trans 'Welcome,' %} <strong>{% if user.first_name %}{{ user.first_name }}{% else %}{{ user.username }}{% endif %}</strong>. <br />{% block userlinks %}<a href="password_change/">{% trans 'Change password' %}</a> / <a href="logout/">{% trans 'Log out' %}</a>{% endblock %}</div>
    2424        {% endif %}
    2525        {% block nav-global %}{% endblock %}
    2626        <br class="clear" />
Back to Top