Bug 19215: Fixing typo in URL for patron clubs
authorAleisha Amohia <aleishaamohia@hotmail.com>
Thu, 31 Aug 2017 00:01:59 +0000 (00:01 +0000)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Wed, 6 Sep 2017 15:55:23 +0000 (12:55 -0300)
To test:
1) Go to Tools -> Clubs
2) Create a new club template if you do not already have one
3) Edit the template
4) Notice the URL is incorrect and the page is not found
5) Apply patch and go back to Clubs
6) Click edit button
7) Link should work as expected

Sponsored-by: Catalyst IT
Signed-off-by: Claire Gravely <claire.gravely@bsz-bw.de>
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
koha-tmpl/intranet-tmpl/prog/en/modules/clubs/clubs.tt

index f52f055..0c96f79 100644 (file)
                                     <td>[% Branches.GetName( t.branchcode ) %]</td>
                                     <td class="actions">
                                         [% IF CAN_user_clubs_edit_templates %]
-                                            <a class="btn btn-xs btn-default" style="white-space:nowrap"  href="/cgi-bin/koha/clubbs/templates-add-modify.pl?id=[% t.id %]">
+                                            <a class="btn btn-xs btn-default" style="white-space:nowrap"  href="/cgi-bin/koha/clubs/templates-add-modify.pl?id=[% t.id %]">
                                                 <i class="fa fa-pencil"></i> Edit
                                             </a>
                                             <a class="btn btn-xs btn-default" href="#" onclick='ConfirmDeleteTemplate([% t.id %], "[% t.name | html %]", $(this) ); return false;'>