From 238a050b3139c22295899789c04b930ea74656c5 Mon Sep 17 00:00:00 2001 From: Ian Walls Date: Fri, 22 Jul 2011 08:08:20 -0400 Subject: [PATCH] Bug 6547: Add id attributes to messages in opac-reserve.tt In order to allow easier styling with JQuery, including text substitution, this patch adds id attributes to each div tag containing a holds message. The following ids are added, corresponding to the template variables of the same names: too_much_oweing too_many_reserves bad_biblionumber no_items_selected no_branch_selected no_biblionumber bad_data none_available Signed-off-by: Nicole C. Engard Signed-off-by: Chris Cormack --- .../opac-tmpl/prog/en/modules/opac-reserve.tt | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/koha-tmpl/opac-tmpl/prog/en/modules/opac-reserve.tt b/koha-tmpl/opac-tmpl/prog/en/modules/opac-reserve.tt index 25e9a3ad6a..6eabe6c275 100644 --- a/koha-tmpl/opac-tmpl/prog/en/modules/opac-reserve.tt +++ b/koha-tmpl/opac-tmpl/prog/en/modules/opac-reserve.tt @@ -181,36 +181,36 @@ [% END %] [% IF ( too_much_oweing ) %] -
+
Sorry, you cannot place holds because you owe [% too_much_oweing %].
[% END %] [% IF ( too_many_reserves ) %] -
Sorry, you cannot place more than [% too_many_reserves %] holds. +
Sorry, you cannot place more than [% too_many_reserves %] holds.
[% END %] [% IF ( bad_biblionumber ) %] -
ERROR: No biblio record found for biblionumber [% bad_biblionumber %].
+
ERROR: No biblio record found for biblionumber [% bad_biblionumber %].
[% END %] [% IF ( no_items_selected ) %] -
+
You must select at least one item.
[% END %] [% IF ( no_branch_selected ) %] -
+
You must select a library for pickup.
[% END %] [% IF ( no_biblionumber ) %] -
ERROR: No biblionumber received.
+
ERROR: No biblionumber received.
[% END %] [% IF ( bad_data ) %] -
ERROR: Internal error: incomplete hold request.
+
ERROR: Internal error: incomplete hold request.
[% END %] [% ELSE %] [% IF ( none_available ) %] -
Sorry, none of these items can be placed on hold. +
Sorry, none of these items can be placed on hold.
[% END %] [% END %] -- 2.39.5