Bug 23681: Fix QA issues
[koha-ffzg.git] / koha-tmpl / intranet-tmpl / prog / en / includes / budgets-active-currency.inc
index b13fb34..dfa6690 100644 (file)
@@ -1 +1,14 @@
-[% IF ( currency ) %]<p><b>Currency = [% currency %]</b></p>[% ELSE %]<div class="dialog alert"><h3>No active currency is defined</h3><p>Please <a href="/cgi-bin/koha/admin/currency.pl">specify an active currency</a>.</p></div>[% END %]
\ No newline at end of file
+[% IF ( currency ) %]
+    [% IF ( not hide ) %]
+        <p><strong>Currency = [% currency | html %]</strong></p>
+    [% END %]
+[% ELSE %]
+    <div class="dialog alert">
+        <h3>No active currency is defined</h3>
+        [% IF CAN_user_acquisition_currencies_manage %]
+            <p><a href="/cgi-bin/koha/admin/currency.pl">Please specify an active currency.</a></p>
+        [% ELSE %]
+            <p>Your administrator must specify an active currency.</p>
+        [% END %]
+    </div>
+[% END %]