Allow actions translation

pull/5941/head
Luiz Boaretto 2020-03-28 11:11:21 -03:00 zatwierdzone przez Karl Hobley
rodzic 7796a0cc44
commit 61af7e8d2a
1 zmienionych plików z 2 dodań i 2 usunięć

Wyświetl plik

@ -31,11 +31,11 @@
<div class="title-wrapper"><a href="{% url 'wagtailsnippets:edit' model_opts.app_label model_opts.model_name snippet.pk|admin_urlquote %}">{{ snippet }}</a></div>
<ul class="actions">
<li>
<a href="{% url 'wagtailsnippets:edit' model_opts.app_label model_opts.model_name snippet.pk|admin_urlquote %}" class="button button-secondary button-small">Edit</a>
<a href="{% url 'wagtailsnippets:edit' model_opts.app_label model_opts.model_name snippet.pk|admin_urlquote %}" class="button button-secondary button-small">{% trans "Edit" %}</a>
</li>
{% if can_delete_snippets %}
<li>
<a href="{% url 'wagtailsnippets:delete' model_opts.app_label model_opts.model_name snippet.pk|admin_urlquote %}" class="button button-secondary button-small">Delete</a>
<a href="{% url 'wagtailsnippets:delete' model_opts.app_label model_opts.model_name snippet.pk|admin_urlquote %}" class="button button-secondary button-small">{% trans "Delete" %}</a>
</li>
{% endif %}
</ul>