mirror of
https://github.com/Hopiu/wagtail.git
synced 2026-03-16 22:10:28 +00:00
Add missing blocktrans to InlinePanel's add-button
This commit is contained in:
parent
aaed92f301
commit
42e1317a4e
3 changed files with 5 additions and 1 deletions
|
|
@ -91,6 +91,7 @@ Contributors
|
|||
* Adon Metcalfe
|
||||
* rayrayndwiga
|
||||
* Rich Atkinson
|
||||
* jnns
|
||||
|
||||
|
||||
Translators
|
||||
|
|
|
|||
|
|
@ -85,6 +85,7 @@ Bug fixes
|
|||
* Changed verbose names to start with lower case where necessary (Maris Serzans)
|
||||
* Invalid images no longer crash the image listing (Maris Serzans)
|
||||
* ``MenuItem`` ``url`` parameter can now take a lazy URL (Adon Metcalfe, rayrayndwiga)
|
||||
* Added missing translation tag to InlinePanel 'Add' button (jnns)
|
||||
|
||||
|
||||
Upgrade considerations
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
{% load i18n %}
|
||||
{% load wagtailadmin_tags %}
|
||||
|
||||
{{ self.formset.management_form }}
|
||||
|
|
@ -23,5 +24,6 @@
|
|||
</script>
|
||||
|
||||
<p class="add">
|
||||
<a class="button bicolor icon icon-plus" id="id_{{ self.formset.prefix }}-ADD" value="Add">Add {{ self.heading|lower }}</a>
|
||||
<a class="button bicolor icon icon-plus" id="id_{{ self.formset.prefix }}-ADD" value="Add">
|
||||
{% blocktrans with heading=self.heading|lower %}Add {{ heading }}{% endblocktrans %}</a>
|
||||
</p>
|
||||
|
|
|
|||
Loading…
Reference in a new issue