From 0b1b70a39540d86156755e6968e577c73cf655af Mon Sep 17 00:00:00 2001 From: Ian Walls Date: Mon, 25 Jul 2011 11:07:31 -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 --- .../opac-tmpl/prog/en/modules/opac-reserve.tt | 16 ++++++++-------- 1 files 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 25e9a3a..6eabe6c 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 %] -- 1.7.4