diff options
author | Luke Shumaker <LukeShu@sbcglobal.net> | 2013-12-22 21:57:02 -0500 |
---|---|---|
committer | Luke Shumaker <LukeShu@sbcglobal.net> | 2013-12-22 21:57:02 -0500 |
commit | f545de301a3188eefffb79de018d5fda2f03946d (patch) | |
tree | c30c10c3cef88d84a6e38a43b63ddf5c4f83d2f5 /templates/admin/index.html | |
parent | 2e634dc457a35d06ec83409da3d6006107495569 (diff) | |
parent | 2bfec5b17ca3ee3ea3b347c029b9d8dad3c5b4d0 (diff) |
Merge branch 'archweb-generic' into master-nomake
Conflicts:
README.md
Diffstat (limited to 'templates/admin/index.html')
-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 %} |