define col scopes

This commit is contained in:
Rachid Mrad 2023-09-13 12:29:00 -04:00
parent 4daec217d7
commit 1326d04e6d
No known key found for this signature in database
GPG key ID: EF38E4CEC4A8F3CF

View file

@ -6,23 +6,28 @@
<table> <table>
{# .gov override: add headers #} {# .gov override: add headers #}
{% if show_changelinks %}
<colgroup span="3"></colgroup>
{% else %}
<colgroup span="2"></colgroup>
{% endif %}
<thead> <thead>
<tr> <tr>
{% if show_changelinks %} {% if show_changelinks %}
<th colspan="3" class="primary-th"> <th colspan="3" class="primary-th" scope="colgroup">
{{ app.name }} {{ app.name }}
</th> </th>
{% else %} {% else %}
<th colspan="2" class="primary-th"> <th colspan="2" class="primary-th" scope="colgroup">
{{ app.name }} {{ app.name }}
</th> </th>
{% endif %} {% endif %}
</tr> </tr>
<tr> <tr>
<th scope="col">Model</th> <th scope="col">Model</th>
<th><span class="display-inline-block min-width-25">Add</span></th> <th scope="col"><span class="display-inline-block min-width-25">Add</span></th>
{% if show_changelinks %} {% if show_changelinks %}
<th> <th scope="col">
<span class="display-inline-block min-width-81"> <span class="display-inline-block min-width-81">
{% translate 'View/Change' %}</th> {% translate 'View/Change' %}</th>
</span> </span>