Bug 16682: (followup) Fix display if Batch patron modification tool does not get...
authorMarc Véron <veron@veron.ch>
Tue, 5 Jul 2016 22:27:30 +0000 (00:27 +0200)
committerKyle M Hall <kyle@bywatersolutions.com>
Fri, 15 Jul 2016 14:12:39 +0000 (14:12 +0000)
Format message as proposed in comment #8

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
koha-tmpl/intranet-tmpl/prog/en/modules/tools/modborrowers.tt

index ac9849c..3887706 100644 (file)
                 [% IF ( op == 'show') && (!borrowers) && (!notfoundcardnumbers) # Alert if no patrons given%]
                     [% op = 'noshow' # Change op to prevent display in code below %]
                     <h1>Batch patrons modification</h1>
-                    <div class="dialog alert">No patron card numbers given. <a href="/cgi-bin/koha/tools/modborrowers.pl" class="btn btn-mini">Back</a></div>
+                    <div class="dialog alert">
+                        <p>No patron card numbers given.</p>
+                        <form action="/cgi-bin/koha/tools/modborrowers.pl" method="get">
+                         <button type="submit" class="approve"><i class="fa fa-fw fa-check"></i> OK</button>
+                        </form>
+                    </div>
                 [% END #Alert if no patrons %]
 
                 [% IF ( op == 'show' or op == 'show_results' ) %]