[Koha-patches] [PATCH] [SIGNED-OFF] Bug 6228: Show active currency in system preferences
Magnus Enger
magnus at enger.priv.no
Mon Apr 25 11:25:13 CEST 2011
From: Katrin Fischer <Katrin.Fischer.83 at web.de>
Some system preferences like maxoutstanding should show the
active currency behind the value. The code for this was not
translated to Template Toolkit.
Will change strings, so probably for 3.4.1
Signed-off-by: Magnus Enger <magnus at enger.priv.no>
---
.../en/modules/admin/preferences/circulation.pref | 4 ++--
.../prog/en/modules/admin/preferences/opac.pref | 2 +-
.../prog/en/modules/admin/preferences/patrons.pref | 2 +-
3 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/circulation.pref b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/circulation.pref
index 03c4c10..8d34157 100644
--- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/circulation.pref
+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/circulation.pref
@@ -170,7 +170,7 @@ Circulation:
- Prevent patrons from making holds on the OPAC if they owe more than
- pref: maxoutstanding
class: currency
- - <!-- TMPL_VAR NAME="local_currency" --> in fines.
+ - '[% local_currency %] in fines.'
-
- Show a warning on the "Transfers to Receive" screen if the transfer has not been received
- pref: TransfersMaxDaysWarning
@@ -186,7 +186,7 @@ Circulation:
- Prevent patrons from checking out books if they have more than
- pref: noissuescharge
class: integer
- - <!-- TMPL_VAR NAME="local_currency" --> in fines.
+ - '[% local_currency %] in fines.'
-
- pref: ReturnBeforeExpiry
choices:
diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/opac.pref b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/opac.pref
index 9591f59..470b695 100644
--- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/opac.pref
+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/opac.pref
@@ -299,7 +299,7 @@ OPAC:
- Only allow patrons to renew their own books on the OPAC if they have less than
- pref: OPACFineNoRenewals
class: currency
- - <!-- TMPL_VAR NAME="local_currency" --> in fines (leave blank to disable).
+ - '[% local_currency %] in fines (leave blank to disable).'
-
- pref: OPACViewOthersSuggestions
choices:
diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/patrons.pref b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/patrons.pref
index 9b5d540..ac3e1d2 100644
--- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/patrons.pref
+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/patrons.pref
@@ -69,7 +69,7 @@ Patrons:
- The late fine for a specific checkout will only go up to
- pref: MaxFine
class: currency
- - '<!-- TMPL_VAR NAME="local_currency" -->.'
+ - '[% local_currency %].'
-
- pref: memberofinstitution
choices:
--
1.7.1
More information about the Koha-patches
mailing list