Ticket #3695: 3695.diff
File 3695.diff, 1.3 KB (added by , 17 years ago) |
---|
-
django/contrib/admin/templates/admin_doc/template_tag_index.html
15 15 <h2>{% if library.grouper %}{{ library.grouper }}{% else %}Built-in tags{% endif %}</h2> 16 16 {% 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 17 {% for tag in library.list|dictsort:"name" %} 18 <h3 id="{{ tag.name }}">{{ tag.name }}</h3>18 <h3 id="{{ library.grouper|default_if_none:"built_in" }}-{{ tag.name }}">{{ tag.name }}</h3> 19 19 <h4>{{ tag.title }}</h4> 20 20 <p>{{ tag.body }}</p> 21 21 {% if not forloop.last %}<hr />{% endif %} … … 36 36 <h2>{% if library.grouper %}{{ library.grouper }}{% else %}Built-in tags{% endif %}</h2> 37 37 <ul> 38 38 {% for tag in library.list|dictsort:"name" %} 39 <li><a href="#{{ tag.name }}">{{ tag.name }}</a></li>39 <li><a href="#{{ library.grouper|default_if_none:"built_in" }}-{{ tag.name }}">{{ tag.name }}</a></li> 40 40 {% endfor %} 41 41 </ul> 42 42 </div>