Only show the "Test plural forms"-button on the qu edit page when the current language requires more than 2 plural forms (references #261)

This commit is contained in:
Bernd Bestel
2019-09-20 10:33:44 +02:00
parent d4c76aaa76
commit 9f8216378e
2 changed files with 4 additions and 1 deletions

View File

@@ -57,7 +57,10 @@
))
<button id="save-quantityunit-button" class="btn btn-success">{{ $__t('Save') }}</button>
@if(intval($pluralCount) > 2)
<button id="test-quantityunit-plural-forms-button" class="btn btn-secondary">{{ $__t('Test plural forms') }}</button>
@endif
</form>
</div>