Ticket #893: admin-templates.diff
File admin-templates.diff, 2.3 KB (added by , 19 years ago) |
---|
-
change_list.html
1 1 {% extends "admin/base_site" %} 2 2 {% load adminmedia admin_list i18n %} 3 3 {% block bodyclass %}change-list{% endblock %} 4 {% block userlinks %}<a href="../../password_change/">{% trans 'Change password' %}</a> / <a href="../../logout/">{% trans 'Log out' %}</a>{% endblock %} 4 5 {% if not is_popup %}{% block breadcrumbs %}<div class="breadcrumbs"><a href="../../">{% trans "Home" %}</a> › {{ cl.opts.verbose_name_plural|capfirst }} </div>{% endblock %}{% endif %} 5 6 {% block coltype %}flex{% endblock %} 6 7 {% block content %} -
change_form.html
5 5 {% endblock %} 6 6 {% block coltype %}{{ bound_manipulator.coltype }}{% endblock %} 7 7 {% 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 %} 8 9 {% block breadcrumbs %}{% if not is_popup %} 9 10 <div class="breadcrumbs"> 10 11 <a href="../../../">{% trans "Home" %}</a> › -
base.html
20 20 {% block branding %}{% endblock %} 21 21 </div> 22 22 {% 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> 24 24 {% endif %} 25 25 {% block nav-global %}{% endblock %} 26 26 <br class="clear" />