mirror of
https://github.com/django/django.git
synced 2025-07-04 17:59:13 +00:00
magic-removal: Fixed HTML bug in admin index template (thanks, Rudolph)
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2630 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
a45930b05c
commit
8657fdd11e
@ -14,9 +14,9 @@
|
|||||||
{% if app_list %}
|
{% if app_list %}
|
||||||
{% for app in app_list %}
|
{% for app in app_list %}
|
||||||
<div class="module">
|
<div class="module">
|
||||||
<table summary="{% blocktrans with app.name as name %}Models available in the {{ name }} application.{% endblocktrans %}">
|
<table summary="{% blocktrans with app.name as name %}Models available in the {{ name }} application.{% endblocktrans %}">
|
||||||
|
<caption>{{ app.name }}</caption>
|
||||||
{% for model in app.models %}
|
{% for model in app.models %}
|
||||||
<caption>{{ app.name }}</caption>
|
|
||||||
<tr>
|
<tr>
|
||||||
{% if model.perms.change %}
|
{% if model.perms.change %}
|
||||||
<th scope="row"><a href="{{ model.admin_url }}">{{ model.name }}</a></th>
|
<th scope="row"><a href="{{ model.admin_url }}">{{ model.name }}</a></th>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user