Bug 34557: (follow-up) Make link more like button in staff interface
This patch adds Bootstrap button style to the link and changes the text from "Load your checkouts" to "Show your checkouts." The patch adds an anchor to the link so that the browser jumps down the page a bit making the checkouts more visible. The patch also corrects the includes for Font Awesome files. No icons were loading because of incorrect asset links. To test, follow the previous patch's test plan, checking that the button looks correctly styled and that the page reloads with the checkout form at the top. Confirm that Font Awesome icons are loading throughout the page. Signed-off-by: AndrewA <andrew.auld@ptfs-europe.com> Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
This commit is contained in:
parent
8c801ea132
commit
fbe06c7d9c
1 changed files with 2 additions and 2 deletions
|
@ -302,7 +302,7 @@
|
|||
<li class="nav-item" role="presentation">
|
||||
<a class="nav-link" href="#holds-tab" id="holds" aria-controls="home" aria-selected="false" data-toggle="tab">
|
||||
[% IF waiting_holds_count %]
|
||||
<i class="fa fa-exclamation" aria-hidden="true"></i>
|
||||
<i class="fa fa-exclamation-circle" aria-hidden="true"></i>
|
||||
[% END %]
|
||||
Holds ([% HOLDS.count | html %])
|
||||
</a>
|
||||
|
@ -422,7 +422,7 @@
|
|||
</tbody>
|
||||
</table>
|
||||
[% ELSE %]
|
||||
<a href="?load_checkouts=1">Load your checkouts</a>
|
||||
<a class="btn btn-secondary" href="?load_checkouts=1#scan_form"><i class="fa fa-book" aria-hidden="true"></i> Show your checkouts</a>
|
||||
[% END # / IF ( Koha.preference('SCOLoadCheckoutsByDefault') || load_checkouts ) %]
|
||||
[% ELSE %]
|
||||
<h3>You currently have nothing checked out.</h3>
|
||||
|
|
Loading…
Reference in a new issue