library: bare address opens Room for Books; Koha's own screens via the menu

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_013wi3ZSot4XbUViwRFgLpRf
This commit is contained in:
Claude
2026-11-07 03:33:53 +00:00
parent 6fdc5f4dd1
commit f0a9728016
3 changed files with 10 additions and 2 deletions
+2 -2
View File
@@ -1347,8 +1347,8 @@
// The public catalogue is off by default: only link to it when a public address was configured.
$('lnk-opac').hidden = !s.opac_url;
if (s.opac_url) $('lnk-opac').href = s.opac_url + '/';
$('lnk-staff').href = staffRoot() + '/';
$('lnk-staff').hidden = viewer; $('footkoha').href = staffRoot() + '/';
$('lnk-staff').href = staffRoot() + '/cgi-bin/koha/mainpage.pl';
$('lnk-staff').hidden = viewer; $('footkoha').href = staffRoot() + '/cgi-bin/koha/mainpage.pl';
$('footname').textContent = 'Room for Books' + (s.library_name ? ' · ' + s.library_name : '');
$('lnk-labels').href = staffRoot() + '/cgi-bin/koha/labels/label-edit-range.pl';
if (s.locations && s.locations.length) {