Ticket #7179: 00perms_change_form_html.diff

File 00perms_change_form_html.diff, 810 bytes (added by Alen Ribic, 17 years ago)
  • django/contrib/admin/templates/admin/change_form.html

     
    1717{% block breadcrumbs %}{% if not is_popup %}
    1818<div class="breadcrumbs">
    1919     <a href="../../../">{% trans "Home" %}</a> &rsaquo;
    20      <a href="../">{{ opts.verbose_name_plural|capfirst }}</a> &rsaquo;
     20     {% if has_change_permission %}<a href="../">{{ opts.verbose_name_plural|capfirst }}</a>{% else %}{{ opts.verbose_name_plural|capfirst }}{% endif %} &rsaquo;
    2121     {% if add %}{% trans "Add" %} {{ opts.verbose_name }}{% else %}{{ original|truncatewords:"18" }}{% endif %}
    2222</div>
    2323{% endif %}{% endblock %}
Back to Top