]> git.koha-community.org Git - koha.git/commit
Bug 15306: Do not display the translate link if only 1 language is installed
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Thu, 7 Jan 2016 12:34:54 +0000 (12:34 +0000)
committerBrendan Gallagher <brendan@bywatersolutions.com>
Tue, 23 Feb 2016 23:59:20 +0000 (23:59 +0000)
commitadef1d1020255373ec6f954bcd1a02e382305047
tree7e4cbe3ccbc4b3cd5a9b54f4e8f7225288ab93ca
parentd268d428fd984aeb76f617e0e93ef6fdea543230
Bug 15306: Do not display the translate link if only 1 language is installed

It doesn't make sense to offer the option to translate an item type
description into another language if there is only one language
installed.

Test plan:
Generates templates for only 1 language
Edit an item type and confirm that the link "translate into..." is not
displayed.
Generates templates for another language
Confirm that the link is now displayed.

Signed-off-by: Marc VĂ©ron <veron@veron.ch>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Brendan Gallagher brendan@bywatersolutions.com
admin/itemtypes.pl
koha-tmpl/intranet-tmpl/prog/en/modules/admin/itemtypes.tt