Ticket #5706: 5706.diff

File 5706.diff, 1.7 KB (added by tvrg, 8 years ago)

patch for admin doc

  • django/contrib/admin/templates/admin_doc/template_tag_index.html

     
    1414{% for library in tag_libraries %}
    1515<div class="module">
    1616    <h2>{% if library.grouper %}{{ library.grouper }}{% else %}Built-in tags{% endif %}</h2>
    17     {% if library.grouper %}<p class="small quiet">To use these tags, put <code>{% templatetag openblock %} load {{ library.grouper }} {% templatetag closeblock %}</code> in your template before using the tag.</p><hr>{% endif %}
     17    {% if library.grouper %}<p class="small quiet">To use these tags, put <code>{% templatetag openblock %} load {{ library.grouper }} {% templatetag closeblock %}</code> in your template before using the tag.</p><hr />{% endif %}
    1818    {% for tag in library.list|dictsort:"name" %}
    1919    <h3 id="{{ tag.name }}">{{ tag.name }}</h3>
    2020    <h4>{{ tag.title }}</h4>
  • django/contrib/admin/templates/admin_doc/view_index.html

     
    3030
    3131{% for view in site_views.list|dictsort:"url" %}
    3232{% ifchanged %}
    33 <h3><a href="{{ view.module }}.{{ view.name }}/"/>{{ view.url|escape }}</a></h3>
     33<h3><a href="{{ view.module }}.{{ view.name }}/">{{ view.url|escape }}</a></h3>
    3434<p class="small quiet">View function: {{ view.module }}.{{ view.name }}</p>
    3535<p>{{ view.title }}</p>
    3636<hr>
Back to Top