Skip to content

Commit

Permalink
Merge pull request #548 from Rotzbua/fix_html_trailing_slash
Browse files Browse the repository at this point in the history
fix: html5 does not allow self-closing tags
  • Loading branch information
Mogost authored Jun 9, 2024
2 parents 38f365d + 3eede06 commit ef24fcb
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions constance/templates/admin/constance/change_list.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@

{% block extrastyle %}
{{ block.super }}
<link rel="stylesheet" type="text/css" href="{% static 'admin/css/changelists.css' %}" />
<link rel="stylesheet" type="text/css" href="{% static 'admin/css/forms.css' %}" />
<link rel="stylesheet" type="text/css" href="{% static 'admin/css/changelists.css' %}">
<link rel="stylesheet" type="text/css" href="{% static 'admin/css/forms.css' %}">
{{ media.css }}
<link rel="stylesheet" type="text/css" href="{% static 'admin/css/constance.css' %}" />
<link rel="stylesheet" type="text/css" href="{% static 'admin/css/constance.css' %}">
{% endblock %}

{% block extrahead %}
Expand Down Expand Up @@ -58,7 +58,7 @@ <h2>{{ fieldset.title }}</h2>
{% endif %}

<p class="paginator sticky-footer">
<input type="submit" name="_save" class="default" value="{% trans 'Save' %}"/>
<input type="submit" name="_save" class="default" value="{% trans 'Save' %}">
</p>
</form>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,9 @@
</td>
<td>
{% if item.modified %}
<img src="{% static 'admin/img/icon-yes.'|add:icon_type %}" alt="{{ item.modified }}" />
<img src="{% static 'admin/img/icon-yes.'|add:icon_type %}" alt="{{ item.modified }}">
{% else %}
<img src="{% static 'admin/img/icon-no.'|add:icon_type %}" alt="{{ item.modified }}" />
<img src="{% static 'admin/img/icon-no.'|add:icon_type %}" alt="{{ item.modified }}">
{% endif %}
</td>
</tr>
Expand Down

0 comments on commit ef24fcb

Please sign in to comment.