Bug 18304: [QA Follow-up] Add id to paragraph tag
authorMarcel de Rooy <m.de.rooy@rijksmuseum.nl>
Mon, 20 Mar 2017 20:58:49 +0000 (21:58 +0100)
committerKyle M Hall <kyle@bywatersolutions.com>
Fri, 31 Mar 2017 14:27:36 +0000 (14:27 +0000)
See Bugzilla, comment 4.

Note: the id is unique in the Koha codebase (git grepped).

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-sendbasketform.tt
koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-sendshelfform.tt

index 0ca5498..2cab418 100644 (file)
@@ -37,7 +37,7 @@
                                     <input type="hidden" name="bib_list" value="[% bib_list %]" />
                                     <input type="hidden" name="csrf_token" value="[% csrf_token %]" />
                                 </fieldset>
-                                [% IF Koha.Preference('RequestOnOpac') || Koha.Preference('OpacRenewalAllowed') %]<p>Please do not use this mail to request or renew books.</p>[% END %]
+                                [% IF Koha.Preference('RequestOnOpac') || Koha.Preference('OpacRenewalAllowed') %]<p id="donotrequestbymail">Please do not use this mail to request or renew books.</p>[% END %]
                                 <fieldset class="action">
                                     <input type="submit" class="btn" value="Send" />
                                     <a class="cancel close" href="#">Cancel</a>
index ab16bd5..bc901b1 100644 (file)
@@ -41,7 +41,7 @@
 
                                         <input type="hidden" name="shelfid" value="[% shelfid %]" />
                                     </fieldset>
-                                    [% IF Koha.Preference('RequestOnOpac') || Koha.Preference('OpacRenewalAllowed') %]<p>Please do not use this mail to request or renew books.</p>[% END %]
+                                    [% IF Koha.Preference('RequestOnOpac') || Koha.Preference('OpacRenewalAllowed') %]<p id="donotrequestbymail">Please do not use this mail to request or renew books.</p>[% END %]
                                     <fieldset class="action">
                                         <input type="submit" value="Send" class="btn" />
                                         <a class="cancel close" href="/cgi-bin/koha/opac-shelves.pl?op=view&amp;shelfnumber=[% shelfid %]">Cancel</a>