kopia lustrzana https://github.com/wagtail/wagtail
Allow actions translation
rodzic
7796a0cc44
commit
61af7e8d2a
|
@ -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>
|
||||
|
|
Ładowanie…
Reference in New Issue