Bug 16075: Making numbering patterns actions buttons

To test:

1) Go to Serials -> Manage numbering patterns
2) Confirm that buttons 'Edit' and 'Delete' show as buttons and work as
   expected
3) Confirm that when you make your window narrow, the column with the
   buttons does not wrap
4) Confirm that column heading is now 'Actions'

Sponsored-by: Catalyst IT

Signed-off-by: Owen Leonard <oleonard@myacpl.org>

Buttons look correct and work correctly.

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>

Signed-off-by: Brendan Gallagher brendan@bywatersolutions.com
This commit is contained in:
Aleisha 2016-03-15 06:26:06 +00:00 committed by Brendan Gallagher
parent 4cfee1fb9e
commit 44b37f3bc8
1 changed files with 4 additions and 4 deletions

View File

@ -316,7 +316,7 @@ $(document).ready(function(){
<th>Description</th>
<th>Numbering formula</th>
<th>Display order</th>
<th>&nbsp;</th>
<th>Actions</th>
</tr>
</thead>
<tbody>
@ -326,9 +326,9 @@ $(document).ready(function(){
<td>[% numberpattern.description %]</td>
<td>[% numberpattern.numberingmethod %]</td>
<td>[% numberpattern.displayorder %]</td>
<td>
<a href="/cgi-bin/koha/serials/subscription-numberpatterns.pl?op=modify&id=[% numberpattern.id %]">Edit</a> |
<a class="delete_pattern" href="/cgi-bin/koha/serials/subscription-numberpatterns.pl?op=del&id=[% numberpattern.id %]">Delete</a>
<td class="actions">
<a class="btn btn-mini" href="/cgi-bin/koha/serials/subscription-numberpatterns.pl?op=modify&id=[% numberpattern.id %]"><i class="fa fa-pencil"></i> Edit</a>
<a class="delete_pattern btn btn-mini" href="/cgi-bin/koha/serials/subscription-numberpatterns.pl?op=del&id=[% numberpattern.id %]"><i class="fa fa-trash"></i> Delete</a>
</td>
</tr>
[% END %]