Bug 16074: Making frequencies actions buttons

To test:

1) Go to Serials -> Manage frequencies
2) Confirm that buttons 'Modify' 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 A Gallagher <brendan@bywatersolutions.com>
This commit is contained in:
Aleisha 2016-03-15 06:14:40 +00:00 committed by Brendan A Gallagher
parent a48d166bbf
commit 45413724c0

View file

@ -198,7 +198,7 @@ $(document).ready(function() {
<th>Issues per unit</th> <th>Issues per unit</th>
<th>Units per issue</th> <th>Units per issue</th>
<th>Display order</th> <th>Display order</th>
<th>&nbsp;</th> <th>Actions</th>
</tr> </tr>
</thead> </thead>
<tbody> <tbody>
@ -209,9 +209,9 @@ $(document).ready(function() {
<td>[% frequency.issuesperunit %]</td> <td>[% frequency.issuesperunit %]</td>
<td>[% frequency.unitsperissue %]</td> <td>[% frequency.unitsperissue %]</td>
<td>[% frequency.displayorder %]</td> <td>[% frequency.displayorder %]</td>
<td> <td class="actions">
<a href="/cgi-bin/koha/serials/subscription-frequencies.pl?op=modify&frequencyid=[% frequency.id %]">Modify</a> | <a class="btn btn-mini" href="/cgi-bin/koha/serials/subscription-frequencies.pl?op=modify&frequencyid=[% frequency.id %]"><i class="fa fa-pencil"></i> Modify</a>
<a class="delete_frequency" href="/cgi-bin/koha/serials/subscription-frequencies.pl?op=del&frequencyid=[% frequency.id %]">Delete</a> <a class="delete_frequency btn btn-mini" href="/cgi-bin/koha/serials/subscription-frequencies.pl?op=del&frequencyid=[% frequency.id %]"><i class="fa fa-trash"></i> Delete</a>
</td> </td>
</tr> </tr>
[% END %] [% END %]