Skip to content

Commit

Permalink
Use double quotes in tags in templates
Browse files Browse the repository at this point in the history
  • Loading branch information
johannaengland committed Dec 4, 2024
1 parent 11d9061 commit 96eb705
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
{% block bodyclass %}{{ block.super }} app-{{ opts.app_label }} model-{{ opts.model_name }} change-form{% endblock %}
{% block breadcrumbs %}
<div class="breadcrumbs">
<a href="{% url 'admin:index' %}">{% translate 'Home' %}</a>
<a href="{% url 'admin:index' %}">{% translate "Home" %}</a>
&rsaquo; <a href="{% url 'admin:app_list' app_label=opts.app_label %}">{{ opts.app_config.verbose_name }}</a>
&rsaquo; <a href="{% url opts|admin_urlname:'changelist' %}">{{ opts.verbose_name_plural|capfirst }}</a>
&rsaquo; {% blocktranslate with name=opts.verbose_name %}Add fake incident{% endblocktranslate %}
Expand Down Expand Up @@ -48,7 +48,7 @@
{% block submit_buttons_bottom %}
<div class="submit-row">
<input type="submit"
value="{% translate 'Save' %}"
value="{% translate "Save" %}"
class="default"
name="_save">
</div>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{% extends 'admin/change_list.html' %}
{% extends "admin/change_list.html" %}
{% load i18n admin_urls %}
{% block object-tools-items %}
{% if has_add_permission %}
Expand Down

0 comments on commit 96eb705

Please sign in to comment.