Add heading

This commit is contained in:
zandercymatics 2025-02-18 13:12:13 -07:00
parent e827a05599
commit 10d1f79668
No known key found for this signature in database
GPG key ID: FF4636ABEC9682B7

View file

@ -3,6 +3,8 @@
{% if app_list %} {% if app_list %}
{% for app in app_list %} {% for app in app_list %}
<div class="app-{{ app.app_label }} module{% if app.app_url in request.path|urlencode %} current-app{% endif %}"> <div class="app-{{ app.app_label }} module{% if app.app_url in request.path|urlencode %} current-app{% endif %}">
{# .gov override: display the app name as a h2 rather than a table header #}
<h2>{{ app.name }}</h2>
<table> <table>
{# .gov override: add headers #} {# .gov override: add headers #}
@ -13,15 +15,18 @@
{% endif %} {% endif %}
<thead> <thead>
<tr> <tr>
{% if show_changelinks %} {# .gov override: hide headers #}
<th colspan="3" class="primary-th" scope="colgroup"> {% comment %}
{{ app.name }} {% if show_changelinks %}
</th> <th colspan="3" class="primary-th" scope="colgroup">
{% else %} {{ app.name }}
<th colspan="2" class="primary-th" scope="colgroup"> </th>
{{ app.name }} {% else %}
</th> <th colspan="2" class="primary-th" scope="colgroup">
{% endif %} {{ app.name }}
</th>
{% endif %}
{% endcomment %}
</tr> </tr>
<tr> <tr>
<th scope="col">Model</th> <th scope="col">Model</th>