Bug 19914: Add an id to the Delete button on the library list view
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Thu, 4 Jan 2018 13:27:57 +0000 (10:27 -0300)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Mon, 8 Jan 2018 17:23:52 +0000 (14:23 -0300)
To ease selenium tests, see bug 19243.

Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
koha-tmpl/intranet-tmpl/prog/en/modules/admin/branches.tt

index d8c5b5c..c8c0553 100644 (file)
                             <form action="/cgi-bin/koha/admin/branches.pl" method="post">
                                 <input type="hidden" name="branchcode" value="[% library.branchcode |html %]" />
                                 <input type="hidden" name="op" value="delete_confirm" />
-                                <button type="submit" class="btn btn-default btn-xs"><i class="fa fa-trash"></i> Delete</button>
+                                <button type="submit" id="delete_library_[% library.branchcode | html %]" class="btn btn-default btn-xs"><i class="fa fa-trash"></i> Delete</button>
                             </form>
                         </td>
                     </tr>