Fix Add user button label (input->button)

pull/4456/merge
Benoit Vogel 2018-04-08 04:31:57 +02:00 zatwierdzone przez Janneke Janssen
rodzic 8c686b6a6b
commit 9a21060aff
3 zmienionych plików z 3 dodań i 1 usunięć

Wyświetl plik

@ -42,6 +42,7 @@ Changelog
* Fix: Inconsistent order of heading features when adding h1, h5 or h6 as default feature for Hallo RichText editor (Loic Teixeira)
* Fix: Add invalid password reset link error message (Coen van der Kamp)
* Fix: Bypass select/prefetch related optimisation on `update_index` for `ParentalManyToManyField` to fix crash (Tim Kamanin)
* Fix: 'Add user' is now rendered as a button due to the use of quotes within translations (Benoît Vogel)
2.0.1 (04.04.2018)

Wyświetl plik

@ -60,6 +60,7 @@ Bug fixes
* Inconsistent order of heading features when adding h1, h5 or h6 as default feature for Hallo RichText editor (Loic Teixeira)
* Add invalid password reset link error message (Coen van der Kamp)
* Bypass select/prefetch related optimisation on ``update_index`` for ``ParentalManyToManyField`` to fix crash (Tim Kamanin)
* 'Add user' is now rendered as a button due to the use of quotes within translations (Benoît Vogel)
Upgrade considerations

Wyświetl plik

@ -40,7 +40,7 @@
<ul class="fields">
{% include "wagtailadmin/shared/field_as_li.html" with field=form.is_superuser %}
{% include "wagtailadmin/shared/field_as_li.html" with field=form.groups %}
<li><input type="submit" value='{% trans "Add user" %}' class="button" /></li>
<li><button class="button">{% trans "Add user" %}</button></li>
</ul>
</section>
</div>