Merge pull request #104 from samuraisam/17138-html5-remove-summary

Fixed #17138 -- Removed the 'summary' attribute from the admin index tables to be html5-valid.
This commit is contained in:
Julien Phalip 2012-06-03 17:57:46 -07:00
commit f29234167a
1 changed files with 6 additions and 2 deletions

View File

@ -15,8 +15,12 @@
{% 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>
<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>
{% if model.admin_url %}