Bug 21245: Move 'Last patron' button into 'breadcrumb' bar
This patch moved the 'Last patron' button introduced in bug 20312 inline with the breadcrumb bar from floating above it. Signed-off-by: Nick Clemens <nick@bywatersolutions.com> Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
This commit is contained in:
parent
95c43ebe72
commit
0ae7c6a343
2 changed files with 4 additions and 2 deletions
|
@ -994,7 +994,8 @@ details[open] {
|
|||
background-color: #E6F0F2;
|
||||
clear: both;
|
||||
margin: 0;
|
||||
padding: .2em .5em .4em 10px;
|
||||
padding: .8em .5em .8em 10px;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
#header {
|
||||
|
@ -3940,7 +3941,7 @@ input.renew {
|
|||
display: none;
|
||||
position: absolute;
|
||||
right: 5px;
|
||||
top: 100px;
|
||||
top: 0px;
|
||||
}
|
||||
|
||||
/* ==== MODULE LINKS - Start ==== */
|
||||
|
|
|
@ -92,6 +92,7 @@ $.fn.selectTabByID = function (tabID) {
|
|||
});
|
||||
|
||||
if (typeof $.cookie("lastborrowernumber") !== "undefined" && $("#hiddenborrowernumber").val() != $.cookie("lastborrowernumber")) {
|
||||
$("#lastborrower-window").detach().appendTo("#breadcrumbs");
|
||||
$("#lastborrowerlink").show();
|
||||
$("#lastborrowerlink").prop("title", $.cookie("lastborrowername") + " (" + $.cookie("lastborrowercard") + ")");
|
||||
$("#lastborrowerlink").prop("href", "/cgi-bin/koha/circ/circulation.pl?borrowernumber=" + $.cookie("lastborrowernumber"));
|
||||
|
|
Loading…
Reference in a new issue