diff options
author | Luke Shumaker <LukeShu@sbcglobal.net> | 2013-12-22 21:50:58 -0500 |
---|---|---|
committer | Luke Shumaker <LukeShu@sbcglobal.net> | 2013-12-22 21:50:58 -0500 |
commit | 2bfec5b17ca3ee3ea3b347c029b9d8dad3c5b4d0 (patch) | |
tree | 6bda86f6489fbdfdce67d282b20586fc6032735b /templates/admin | |
parent | 3579e3cb34a53abd16da3af78be738c2a4dd0d5c (diff) | |
parent | 36f5e1df9afbeac1d04fee38dde4c28f81144a20 (diff) |
Merge tag 'release_2013-12-19' into archweb-generic
Mirror URL page, other random stuff
Diffstat (limited to 'templates/admin')
-rw-r--r-- | templates/admin/index.html | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/templates/admin/index.html b/templates/admin/index.html index 203206d5..fddd55e5 100644 --- a/templates/admin/index.html +++ b/templates/admin/index.html @@ -31,11 +31,15 @@ {% if app_list %} {% for app in app_list %} - <div class="module"> - <table summary="{% blocktrans with name=app.name %}Models available in the {{ name }} application.{% endblocktrans %}"> - <caption><a href="{{ app.app_url }}" class="section">{% blocktrans with name=app.name %}{{ name }}{% endblocktrans %}</a></caption> + <div class="app-{{ app.app_label }} module"> + <table> + <caption> + <a href="{{ app.app_url }}" class="section" title="{% blocktrans with name=app.name %}Models in the {{ name }} application{% endblocktrans %}"> + {% blocktrans with name=app.name %}{{ name }}{% endblocktrans %} + </a> + </caption> {% for model in app.models %} - <tr> + <tr class="model-{{ model.object_name|lower }}"> {% if model.admin_url %} <th scope="row"><a href="{{ model.admin_url }}">{{ model.name }}</a></th> {% else %} |