Kaydet (Commit) f2923416 authored tarafından Julien Phalip's avatar Julien Phalip

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.
...@@ -15,8 +15,12 @@ ...@@ -15,8 +15,12 @@
{% 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 name=app.name %}Models available in the {{ name }} application.{% endblocktrans %}"> <table>
<caption><a href="{{ app.app_url }}" class="section">{% blocktrans with name=app.name %}{{ name }}{% endblocktrans %}</a></caption> <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 %} {% for model in app.models %}
<tr> <tr>
{% if model.admin_url %} {% if model.admin_url %}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment