diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/includes/masthead.inc b/koha-tmpl/opac-tmpl/bootstrap/en/includes/masthead.inc
index fdce32c583..a778aa94ee 100644
--- a/koha-tmpl/opac-tmpl/bootstrap/en/includes/masthead.inc
+++ b/koha-tmpl/opac-tmpl/bootstrap/en/includes/masthead.inc
@@ -103,14 +103,14 @@
[% END %]
[% END %]
[% IF EnableOpacSearchHistory %]
-
Search history [x]
+ Search history [x]
[% END %]
[% IF Koha.Preference( 'opacuserlogin' ) == 1 %]
[% IF ( loggedinusername ) %]
[% IF persona %]
-
+
[% ELSE %]
[% END %]
diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/includes/opac-bottom.inc b/koha-tmpl/opac-tmpl/bootstrap/en/includes/opac-bottom.inc
index 1a1337087c..497f2f3db5 100644
--- a/koha-tmpl/opac-tmpl/bootstrap/en/includes/opac-bottom.inc
+++ b/koha-tmpl/opac-tmpl/bootstrap/en/includes/opac-bottom.inc
@@ -149,7 +149,6 @@ $.widget.bridge('uitooltip', $.ui.tooltip);
verify_images();
});
[% END %]
-
$(".print-large").on("click",function(){
window.print();
return false;
@@ -166,6 +165,9 @@ $.widget.bridge('uitooltip', $.ui.tooltip);
delSingleRecord('[% biblionumber %]');
return false;
});
+ $(".clearsh").on("click", function(){
+ return confirmDelete(MSG_DELETE_SEARCH_HISTORY);
+ });
//]]>
@@ -251,6 +253,10 @@ $.widget.bridge('uitooltip', $.ui.tooltip);
}
});
+ $(".logout").on("click",function(){
+ navigator.id.logout();
+ });
+
var signinLink = document.getElementById('browserid');
if (signinLink) {