Bug 33907: Improve translation of title tags: OPAC part 1
This patch updates a batch of OPAC templates so that title tags can be more easily translated. Some templates have been updated for consistency as well: Harmonizing page title, breaddrumb navigation, and page headers. To test, apply the patch and confirm that the following pages have correct title tags: - Log in to the OPAC by navigating directly to a user page like /cgi-bin/koha/opac-user.pl - From your user summary page, click "Charges." - Check the advanced search page. - Search for a bibliographic record and view the details, and then click "MARC view" and "ISBD view." - From this page click "Save to your lists" and check the title in the popup window." - Still on a detail page, click "Add to your cart." Open the cart and check that page. - Go to authority search (must have OpacAuthorities enabled). - Perform an authority search which will return results. - View the detail page for one of the results, and check the MARC view as well. - With UseCourseReserves enabled, view the course reserves page, then the course reserve detail page. - Search for a subscription which has patron notification enabled. - View the detail page, then open the "Subscriptions" tab. Click "More details." - On this page you should see a "Subscribe to email notification" button. Click it to open the subscription page. - Check both /cgi-bin/koha/opac-browse.pl and /cgi-bin/koha/opac-browser.pl. Whether or not the features are enabled you should be able to check the title. - Check /cgi-bin/koha/ilsdi.pl as well as one or more views linked to on that page. - Navigate to a page in the OPAC which doesn't exist to test the error page template. - Go to Administration -> System preferences and enable the OpacMaintenance preference. - Go to the OPAC and check the system maintenance page. Signed-off-by: David Nind <david@davidnind.com> Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
This commit is contained in:
parent
058a09b7d9
commit
bae6560a26
22 changed files with 175 additions and 61 deletions
|
@ -168,3 +168,11 @@
|
|||
</li>
|
||||
[% END %]
|
||||
[% END %]
|
||||
|
||||
[% BLOCK library_name_title %]
|
||||
[% IF ( LibraryNameTitle ) %]
|
||||
[% tx("{library} catalog", { library = LibraryNameTitle }) | html %]
|
||||
[% ELSE %]
|
||||
[% t("Koha online catalog") | html %]
|
||||
[% END %]
|
||||
[% END %]
|
||||
|
|
|
@ -1,9 +1,14 @@
|
|||
[% USE raw %]
|
||||
[% USE AdditionalContents %]
|
||||
[% PROCESS 'i18n.inc' %]
|
||||
[% PROCESS 'html_helpers.inc' %]
|
||||
[% SET OpacNav = AdditionalContents.get( location => "OpacNav", lang => lang, library => logged_in_user.branchcode || default_branch, blocktitle => 0 ) %]
|
||||
[% SET OpacNavBottom = AdditionalContents.get( location => "OpacNavBottom", lang => lang, library => logged_in_user.branchcode || default_branch, blocktitle => 0 ) %]
|
||||
[% INCLUDE 'doc-head-open.inc' %]
|
||||
<title>An error has occurred › [% IF ( LibraryNameTitle ) %][% LibraryNameTitle | html %][% ELSE %]Koha online[% END %] catalog</title>
|
||||
<title>[% FILTER collapse %]
|
||||
[% t("An error has occurred") | html %] ›
|
||||
[% PROCESS 'library_name_title' %]
|
||||
[% END %]</title>
|
||||
[% INCLUDE 'doc-head-close.inc' %]
|
||||
[% BLOCK cssinclude %][% END %]
|
||||
</head>
|
||||
|
|
|
@ -1,38 +1,39 @@
|
|||
[% USE raw %]
|
||||
[% USE Koha %]
|
||||
[% PROCESS 'i18n.inc' %]
|
||||
[% PROCESS 'html_helpers.inc' %]
|
||||
[% SET OpacNav = AdditionalContents.get( location => "OpacNav", lang => lang, library => logged_in_user.branchcode || default_branch, blocktitle => 0 ) %]
|
||||
[% SET OpacNavBottom = AdditionalContents.get( location => "OpacNavBottom", lang => lang, library => logged_in_user.branchcode || default_branch, blocktitle => 0 ) %]
|
||||
[% INCLUDE 'doc-head-open.inc' %]
|
||||
<title>
|
||||
<title>[% FILTER collapse %]
|
||||
[% IF ( GetAvailability ) %]
|
||||
ILS-DI › GetAvailability
|
||||
[% t("GetAvailability") | html %] ›
|
||||
[% ELSIF ( GetRecords ) %]
|
||||
ILS-DI › GetRecords
|
||||
[% t("GetRecords") | html %] ›
|
||||
[% ELSIF ( GetAuthorityRecords ) %]
|
||||
ILS-DI › GetAuthorityRecords
|
||||
[% t("GetAuthorityRecords") | html %] ›
|
||||
[% ELSIF ( LookupPatron ) %]
|
||||
ILS-DI › LookupPatron
|
||||
[% t("LookupPatron") | html %] ›
|
||||
[% ELSIF ( AuthenticatePatron ) %]
|
||||
ILS-DI › AuthenticatePatron
|
||||
[% t("AuthenticatePatron") | html %] ›
|
||||
[% ELSIF ( GetPatronInfo ) %]
|
||||
ILS-DI › GetPatronInfo
|
||||
[% t("GetPatronInfo") | html %] ›
|
||||
[% ELSIF ( GetPatronStatus ) %]
|
||||
ILS-DI › GetPatronStatus
|
||||
[% t("GetPatronStatus") | html %] ›
|
||||
[% ELSIF ( GetServices ) %]
|
||||
ILS-DI › GetServices
|
||||
[% t("GetServices") | html %] ›
|
||||
[% ELSIF ( RenewLoan ) %]
|
||||
ILS-DI › RenewLoan
|
||||
[% t("RenewLoan") | html %] ›
|
||||
[% ELSIF ( HoldTitle ) %]
|
||||
ILS-DI › HoldTitle
|
||||
[% t("HoldTitle") | html %] ›
|
||||
[% ELSIF ( HoldItem ) %]
|
||||
ILS-DI › HoldItem
|
||||
[% t("HoldItem") | html %] ›
|
||||
[% ELSIF ( CancelHold ) %]
|
||||
ILS-DI › CancelHold
|
||||
[% ELSE %]
|
||||
ILS-DI
|
||||
[% t("CancelHold") | html %] ›
|
||||
[% END %]
|
||||
› [% IF ( LibraryNameTitle ) %][% LibraryNameTitle | html %][% ELSE %]Koha online[% END %] catalog
|
||||
</title>
|
||||
[% t("ILS-DI") | html %] ›
|
||||
[% PROCESS 'library_name_title' %]
|
||||
[% END %]</title>
|
||||
[% INCLUDE 'doc-head-close.inc' %]
|
||||
[% BLOCK cssinclude %][% END %]
|
||||
</head>
|
||||
|
|
|
@ -1,12 +1,17 @@
|
|||
[% USE raw %]
|
||||
[% USE Koha %]
|
||||
[% USE AdditionalContents %]
|
||||
[% PROCESS 'i18n.inc' %]
|
||||
[% PROCESS 'html_helpers.inc' %]
|
||||
[% INCLUDE 'doc-head-open.inc' %]
|
||||
[% SET OpacHeader = AdditionalContents.get( location => "opacheader", lang => lang, library => logged_in_user.branchcode || default_branch, blocktitle => 0 ) %]
|
||||
[% SET OpacMaintenanceNotice = AdditionalContents.get( location => "OpacMaintenanceNotice", lang => lang, library => branchcode || default_branch ) %]
|
||||
[% SET OpacLangSelectorMode = Koha.Preference('OpacLangSelectorMode') %]
|
||||
[% SET opaclanguagedisplay = Koha.Preference('opaclanguagedisplay') %]
|
||||
<title>[% IF ( LibraryNameTitle ) %][% LibraryNameTitle | html %][% ELSE %]Koha online[% END %] catalog</title>
|
||||
<title>[% FILTER collapse %]
|
||||
[% t("System maintenance") | html %] ›
|
||||
[% PROCESS 'library_name_title' %]
|
||||
[% END %]</title>
|
||||
[% INCLUDE 'doc-head-close.inc' %]
|
||||
[% BLOCK cssinclude %]
|
||||
<style>
|
||||
|
|
|
@ -1,7 +1,12 @@
|
|||
[% USE raw %]
|
||||
[% USE Koha %]
|
||||
[% PROCESS 'i18n.inc' %]
|
||||
[% PROCESS 'html_helpers.inc' %]
|
||||
[% INCLUDE 'doc-head-open.inc' %]
|
||||
<title>ISBD view › [% IF ( LibraryNameTitle ) %][% LibraryNameTitle | html %][% ELSE %]Koha online[% END %] catalog</title>
|
||||
<title>[% FILTER collapse %]
|
||||
[% tx("ISBD view for: {title}", { title = biblio.title }) | html %] ›
|
||||
[% PROCESS 'library_name_title' %]
|
||||
[% END %]</title>
|
||||
[% INCLUDE 'doc-head-close.inc' %]
|
||||
[% BLOCK cssinclude %][% END %]
|
||||
</head>
|
||||
|
@ -11,7 +16,7 @@
|
|||
|
||||
[% WRAPPER breadcrumbs %]
|
||||
[% WRAPPER breadcrumb_item bc_active= 1 %]
|
||||
<span>ISBD view for: [% biblio.title | html %]</span>
|
||||
[% tx("ISBD view for {title}", { title = biblio.title }) | html %]
|
||||
[% END %]
|
||||
[% END #/ WRAPPER breadcrumbs %]
|
||||
|
||||
|
|
|
@ -1,7 +1,12 @@
|
|||
[% USE raw %]
|
||||
[% USE Koha %]
|
||||
[% PROCESS 'i18n.inc' %]
|
||||
[% PROCESS 'html_helpers.inc' %]
|
||||
[% INCLUDE 'doc-head-open.inc' %]
|
||||
<title>MARC details for record no. [% biblio.biblionumber | html %] › [% IF ( LibraryNameTitle ) %][% LibraryNameTitle | html %][% ELSE %]Koha online[% END %] catalog</title>
|
||||
<title>[% FILTER collapse %]
|
||||
[% tx("MARC view for: {title}", { title = bibliotitle }) | html %] ›
|
||||
[% PROCESS 'library_name_title' %]
|
||||
[% END %]</title>
|
||||
[% INCLUDE 'doc-head-close.inc' %]
|
||||
[% BLOCK cssinclude %][% END %]
|
||||
</head>
|
||||
|
|
|
@ -4,13 +4,18 @@
|
|||
[% USE KohaDates %]
|
||||
[% USE AuthorisedValues %]
|
||||
[% USE Price %]
|
||||
[% PROCESS 'i18n.inc' %]
|
||||
[% PROCESS 'html_helpers.inc' %]
|
||||
[% SET ENABLE_OPAC_PAYMENTS = payment_methods %]
|
||||
[% USE AdditionalContents %]
|
||||
[% SET DISPLAY_PAYMENT_BLOCK = 0 %]
|
||||
[% SET OpacNav = AdditionalContents.get( location => "OpacNav", lang => lang, library => logged_in_user.branchcode || default_branch, blocktitle => 0 ) %]
|
||||
[% SET OpacNavBottom = AdditionalContents.get( location => "OpacNavBottom", lang => lang, library => logged_in_user.branchcode || default_branch, blocktitle => 0 ) %]
|
||||
[% INCLUDE 'doc-head-open.inc' %]
|
||||
<title>Your charges › [% IF ( LibraryNameTitle ) %][% LibraryNameTitle | html %][% ELSE %]Koha online[% END %] catalog</title>
|
||||
<title>[% FILTER collapse %]
|
||||
[% t("Your charges") | html %] ›
|
||||
[% PROCESS 'library_name_title' %]
|
||||
[% END %]</title>
|
||||
[% INCLUDE 'doc-head-close.inc' %]
|
||||
[% BLOCK cssinclude %][% END %]
|
||||
</head>
|
||||
|
@ -38,7 +43,7 @@
|
|||
<div class="col-md-12 col-lg-10 order-1">
|
||||
<div id="useraccount" class="maincontent">
|
||||
|
||||
<h1>Charges</h1>
|
||||
<h1>Your charges</h1>
|
||||
[% IF message %]
|
||||
<div class="alert alert-info">
|
||||
[% IF message == 'valid_payment' %]
|
||||
|
|
|
@ -1,5 +1,11 @@
|
|||
[% USE raw %]
|
||||
[% PROCESS 'i18n.inc' %]
|
||||
[% PROCESS 'html_helpers.inc' %]
|
||||
[% INCLUDE 'doc-head-open.inc' %]
|
||||
<title>Add to your list › [% IF ( LibraryNameTitle ) %][% LibraryNameTitle | html %][% ELSE %]Koha online[% END %] catalog</title>
|
||||
<title>[% FILTER collapse %]
|
||||
[% t("Add to your list") | html %] ›
|
||||
[% PROCESS 'library_name_title' %]
|
||||
[% END %]</title>
|
||||
[% INCLUDE 'doc-head-close.inc' %]
|
||||
[% BLOCK cssinclude %][% END %]
|
||||
</head>
|
||||
|
|
|
@ -2,8 +2,13 @@
|
|||
[% USE Asset %]
|
||||
[% USE Koha %]
|
||||
[% USE Branches %]
|
||||
[% PROCESS 'i18n.inc' %]
|
||||
[% PROCESS 'html_helpers.inc' %]
|
||||
[% INCLUDE 'doc-head-open.inc' %]
|
||||
<title>Advanced search › [% IF ( LibraryNameTitle ) %][% LibraryNameTitle | html %][% ELSE %]Koha online[% END %] catalog</title>
|
||||
<title>[% FILTER collapse %]
|
||||
[% t("Advanced search") | html %] ›
|
||||
[% PROCESS 'library_name_title' %]
|
||||
[% END %]</title>
|
||||
[% INCLUDE 'doc-head-close.inc' %]
|
||||
[% BLOCK cssinclude %][% END %]
|
||||
</head>
|
||||
|
|
|
@ -1,7 +1,17 @@
|
|||
[% USE raw %]
|
||||
[% USE Koha %]
|
||||
[% PROCESS 'i18n.inc' %]
|
||||
[% PROCESS 'html_helpers.inc' %]
|
||||
[% INCLUDE 'doc-head-open.inc' %]
|
||||
<title> [% IF ( typeissue ) %]Subscribe to a subscription alert [% ELSIF ( typeissuecancel ) %] Unsubscribe from a subscription alert [% END %] › [% IF ( LibraryNameTitle ) %][% LibraryNameTitle | html %][% ELSE %]Koha online[% END %] catalog</title>
|
||||
<title>[% FILTER collapse %]
|
||||
[% IF ( typeissue ) %]
|
||||
[% t("Subscribe to a subscription alert") | html %]
|
||||
[% ELSIF ( typeissuecancel ) %]
|
||||
[% t("Unsubscribe from a subscription alert") | html %]
|
||||
[% END %] ›
|
||||
[% bibliotitle | html %] ›
|
||||
[% PROCESS 'library_name_title' %]
|
||||
[% END %]</title>
|
||||
[% INCLUDE 'doc-head-close.inc' %]
|
||||
[% BLOCK cssinclude %][% END %]
|
||||
</head>
|
||||
|
|
|
@ -2,11 +2,20 @@
|
|||
[% USE Asset %]
|
||||
[% USE Koha %]
|
||||
[% USE AdditionalContents %]
|
||||
[% PROCESS 'i18n.inc' %]
|
||||
[% PROCESS 'html_helpers.inc' %]
|
||||
[% PROCESS 'opac-authorities.inc' %]
|
||||
[% SET OpacNav = AdditionalContents.get( location => "OpacNav", lang => lang, library => logged_in_user.branchcode || default_branch, blocktitle => 0 ) %]
|
||||
[% SET OpacNavBottom = AdditionalContents.get( location => "OpacNavBottom", lang => lang, library => logged_in_user.branchcode || default_branch, blocktitle => 0 ) %]
|
||||
[% INCLUDE 'doc-head-open.inc' %]
|
||||
<title>Entry [% authtypetext | html %] › [% IF ( LibraryNameTitle ) %][% LibraryNameTitle | html %][% ELSE %]Koha online[% END %] catalog</title>
|
||||
<title>[% FILTER collapse %]
|
||||
[% t("MARC view") | html %] ›
|
||||
[% summary.mainentry | html %]
|
||||
[% IF authtypetext %]
|
||||
([% authtypetext | html %])
|
||||
[% END %] ›
|
||||
[% PROCESS 'library_name_title' %]
|
||||
[% END %]</title>
|
||||
[% INCLUDE 'doc-head-close.inc' %]
|
||||
[% BLOCK cssinclude %]
|
||||
[% IF ( displayhierarchy ) %]
|
||||
|
@ -22,8 +31,11 @@
|
|||
[% WRAPPER breadcrumb_item %]
|
||||
<a href="/cgi-bin/koha/opac-authorities-home.pl">Authority search</a>
|
||||
[% END %]
|
||||
[% WRAPPER breadcrumb_item %]
|
||||
<a href="/cgi-bin/koha/opac-authoritiesdetail.pl?authid=[% authid | uri %]">[% summary.mainentry | html %] [% IF authtypetext %] ([% authtypetext | html %]) [% END %]</a>
|
||||
[% END %]
|
||||
[% WRAPPER breadcrumb_item bc_active= 1 %]
|
||||
<span>Entry [% authtypetext | html %]</span>
|
||||
[% t("MARC view") | html %]
|
||||
[% END %]
|
||||
[% END #/ WRAPPER breadcrumbs %]
|
||||
|
||||
|
|
|
@ -2,11 +2,20 @@
|
|||
[% USE Asset %]
|
||||
[% USE Koha %]
|
||||
[% USE AdditionalContents %]
|
||||
[% PROCESS 'i18n.inc' %]
|
||||
[% PROCESS 'html_helpers.inc' %]
|
||||
[% PROCESS 'opac-authorities.inc' %]
|
||||
[% SET OpacNav = AdditionalContents.get( location => "OpacNav", lang => lang, library => logged_in_user.branchcode || default_branch, blocktitle => 0 ) %]
|
||||
[% SET OpacNavBottom = AdditionalContents.get( location => "OpacNavBottom", lang => lang, library => logged_in_user.branchcode || default_branch, blocktitle => 0 ) %]
|
||||
[% INCLUDE 'doc-head-open.inc' %]
|
||||
<title>[% summary.mainentry | html %][% IF authtypetext %] ([% authtypetext | html %])[% END %] › Authority search › [% IF ( LibraryNameTitle ) %][% LibraryNameTitle | html %][% ELSE %]Koha online[% END %] catalog</title>
|
||||
<title>[% FILTER collapse %]
|
||||
[% summary.mainentry | html %]
|
||||
[% IF authtypetext %]
|
||||
([% authtypetext | html %])
|
||||
[% END %] ›
|
||||
[% t("Authority search") | html %] ›
|
||||
[% PROCESS 'library_name_title' %]
|
||||
[% END %]</title>
|
||||
[% INCLUDE 'doc-head-close.inc' %]
|
||||
[% BLOCK cssinclude %]
|
||||
[% IF ( displayhierarchy ) %]
|
||||
|
|
|
@ -3,17 +3,18 @@
|
|||
[% USE Categories %]
|
||||
[% USE AdditionalContents %]
|
||||
[% USE AuthClient %]
|
||||
[% PROCESS 'i18n.inc' %]
|
||||
[% PROCESS 'html_helpers.inc' %]
|
||||
[% SET OpacLoginInstructions = AdditionalContents.get( location => "OpacLoginInstructions", lang => lang, library => branchcode || default_branch ) %]
|
||||
[% INCLUDE 'doc-head-open.inc' %]
|
||||
<title>
|
||||
[% IF Koha.Preference( 'opacuserlogin' ) == 1 %]
|
||||
Log in to your account
|
||||
[% ELSE %]
|
||||
Catalog login disabled
|
||||
[% END %] ›
|
||||
[% IF ( LibraryNameTitle ) %][% LibraryNameTitle | html %][% ELSE %]Koha online[% END %] catalog
|
||||
</title>
|
||||
<title>[% FILTER collapse %]
|
||||
[% IF Koha.Preference( 'opacuserlogin' ) == 1 %]
|
||||
[% t("Log in to your account") | html %]
|
||||
[% ELSE %]
|
||||
[% t("Catalog login disabled") | html %]
|
||||
[% END %] ›
|
||||
[% PROCESS 'library_name_title' %]
|
||||
[% END %]</title>
|
||||
[% INCLUDE 'doc-head-close.inc' %]
|
||||
[% BLOCK cssinclude %][% END %]
|
||||
</head>
|
||||
|
@ -23,7 +24,11 @@
|
|||
<div class="main">
|
||||
[% WRAPPER breadcrumbs %]
|
||||
[% WRAPPER breadcrumb_item bc_active= 1 %]
|
||||
<span>Log in</span>
|
||||
[% IF Koha.Preference( 'opacuserlogin' ) == 1 %]
|
||||
<span>Log in to your account</span>
|
||||
[% ELSE %]
|
||||
<span>Catalog login disabled</span>
|
||||
[% END %]
|
||||
[% END %]
|
||||
[% END #/ WRAPPER breadcrumbs %]
|
||||
|
||||
|
|
|
@ -1,10 +1,15 @@
|
|||
[% USE raw %]
|
||||
[% USE Koha %]
|
||||
[% USE AdditionalContents %]
|
||||
[% PROCESS 'i18n.inc' %]
|
||||
[% PROCESS 'html_helpers.inc' %]
|
||||
[% SET OpacNav = AdditionalContents.get( location => "OpacNav", lang => lang, library => logged_in_user.branchcode || default_branch, blocktitle => 0 ) %]
|
||||
[% SET OpacNavBottom = AdditionalContents.get( location => "OpacNavBottom", lang => lang, library => logged_in_user.branchcode || default_branch, blocktitle => 0 ) %]
|
||||
[% INCLUDE 'doc-head-open.inc' %]
|
||||
<title>Authority search › [% IF ( LibraryNameTitle ) %][% LibraryNameTitle | html %][% ELSE %]Koha online[% END %] catalog</title>
|
||||
<title>[% FILTER collapse %]
|
||||
[% t("Authority search") | html %] ›
|
||||
[% PROCESS 'library_name_title' %]
|
||||
[% END %]</title>
|
||||
<meta name="robots" content="noindex">
|
||||
[% INCLUDE 'doc-head-close.inc' %]
|
||||
[% BLOCK cssinclude %][% END %]
|
||||
|
|
|
@ -1,6 +1,8 @@
|
|||
[% USE raw %]
|
||||
[% USE Koha %]
|
||||
[% USE AdditionalContents %]
|
||||
[% PROCESS 'i18n.inc' %]
|
||||
[% PROCESS 'html_helpers.inc' %]
|
||||
[% SET OpacNav = AdditionalContents.get( location => "OpacNav", lang => lang, library => logged_in_user.branchcode || default_branch, blocktitle => 0 ) %]
|
||||
[% SET OpacNavBottom = AdditionalContents.get( location => "OpacNavBottom", lang => lang, library => logged_in_user.branchcode || default_branch, blocktitle => 0 ) %]
|
||||
[% PROCESS 'opac-authorities.inc' %]
|
||||
|
@ -38,7 +40,11 @@
|
|||
</nav> <!-- / #pages -->
|
||||
[% END %]
|
||||
[% INCLUDE 'doc-head-open.inc' %]
|
||||
<title>[% IF ( total ) %]Authority search result[% ELSE %]No results found[% END %] › [% IF ( LibraryNameTitle ) %][% LibraryNameTitle | html %][% ELSE %]Koha online[% END %] catalog</title>
|
||||
<title>[% FILTER collapse %]
|
||||
[% t("Results") | html %] ›
|
||||
[% t("Authority search") | html %] ›
|
||||
[% PROCESS 'library_name_title' %]
|
||||
[% END %]</title>
|
||||
[% INCLUDE 'doc-head-close.inc' %]
|
||||
[% BLOCK cssinclude %][% END %]
|
||||
</head>
|
||||
|
|
|
@ -4,11 +4,16 @@
|
|||
[% USE Branches %]
|
||||
[% USE KohaDates %]
|
||||
[% USE Asset %]
|
||||
[% PROCESS 'i18n.inc' %]
|
||||
[% PROCESS 'html_helpers.inc' %]
|
||||
[% SET is_popup = 1 %]
|
||||
[% SET TagsInputEnabled = ( ( Koha.Preference( 'opacuserlogin' ) == 1 ) && TagsEnabled && TagsInputOnList ) %]
|
||||
|
||||
[% INCLUDE 'doc-head-open.inc' %]
|
||||
<title>Your cart › [% IF ( LibraryNameTitle ) %][% LibraryNameTitle | html %][% ELSE %]Koha online[% END %] catalog</title>
|
||||
<title>[% FILTER collapse %]
|
||||
[% t("Your cart") | html %] ›
|
||||
[% PROCESS 'library_name_title' %]
|
||||
[% END %]</title>
|
||||
[% INCLUDE 'doc-head-close.inc' %]
|
||||
[% BLOCK cssinclude %]<style>.item-status, .dt-buttons { display: inline; } @media print { body { height: 99%; } }</style>[% END %]
|
||||
</head>
|
||||
|
|
|
@ -1,15 +1,13 @@
|
|||
[% USE raw %]
|
||||
[% USE AdditionalContents %]
|
||||
[% SET OpacSuppressionMessage = AdditionalContents.get( location => "OpacSuppressionMessage", lang => lang, library => branchcode || default_branch ) %]
|
||||
[% PROCESS 'i18n.inc' %]
|
||||
[% PROCESS 'html_helpers.inc' %]
|
||||
[% INCLUDE 'doc-head-open.inc' %]
|
||||
<title>
|
||||
Record blocked ›
|
||||
[% IF ( LibraryNameTitle ) %]
|
||||
[% LibraryNameTitle | html %]
|
||||
[% ELSE %]
|
||||
Koha online
|
||||
[% END %] catalog
|
||||
</title>
|
||||
<title>[% FILTER collapse %]
|
||||
[% t("Record blocked") | html %] ›
|
||||
[% PROCESS 'library_name_title' %]
|
||||
[% END %]</title>
|
||||
[% INCLUDE 'doc-head-close.inc' %]
|
||||
[% BLOCK cssinclude %][% END %]
|
||||
</head>
|
||||
|
@ -18,7 +16,7 @@
|
|||
<div class="main">
|
||||
[% WRAPPER breadcrumbs %]
|
||||
[% WRAPPER breadcrumb_item bc_active= 1 %]
|
||||
<span>Blocked record</span>
|
||||
<span>Record blocked</span>
|
||||
[% END %]
|
||||
[% END #/ WRAPPER breadcrumbs %]
|
||||
|
||||
|
@ -26,7 +24,7 @@
|
|||
<div class="row justify-content-center">
|
||||
<div class="col-md-10 col-lg-6">
|
||||
<div id="opac-blocked-message" class="maincontent">
|
||||
<h1>Blocked</h1>
|
||||
<h1>Record blocked</h1>
|
||||
<p>You are not authorized to view this record.</p>
|
||||
[% IF ( OpacSuppressionMessage ) %]
|
||||
<div id="opacsuppressionmessage">
|
||||
|
|
|
@ -1,11 +1,16 @@
|
|||
[% USE raw %]
|
||||
[% USE Koha %]
|
||||
[% USE Asset %]
|
||||
[% USE raw %]
|
||||
[% USE AdditionalContents %]
|
||||
[% PROCESS 'i18n.inc' %]
|
||||
[% PROCESS 'html_helpers.inc' %]
|
||||
[% SET OpacNav = AdditionalContents.get( location => "OpacNav", lang => lang, library => logged_in_user.branchcode || default_branch, blocktitle => 0 ) %]
|
||||
[% SET OpacNavBottom = AdditionalContents.get( location => "OpacNavBottom", lang => lang, library => logged_in_user.branchcode || default_branch, blocktitle => 0 ) %]
|
||||
[% INCLUDE 'doc-head-open.inc' %]
|
||||
<title>Browse our catalog › [% IF ( LibraryNameTitle ) %][% LibraryNameTitle | html %][% ELSE %]Koha online[% END %] catalog</title>
|
||||
<title>[% FILTER collapse %]
|
||||
[% t("Browse search") | html %] ›
|
||||
[% PROCESS 'library_name_title' %]
|
||||
[% END %]</title>
|
||||
<meta name="robots" content="noindex">
|
||||
[% INCLUDE 'doc-head-close.inc' %]
|
||||
[% BLOCK cssinclude %][% END %]
|
||||
|
|
|
@ -1,10 +1,15 @@
|
|||
[% USE raw %]
|
||||
[% USE Koha %]
|
||||
[% USE AdditionalContents %]
|
||||
[% PROCESS 'i18n.inc' %]
|
||||
[% PROCESS 'html_helpers.inc' %]
|
||||
[% SET OpacNav = AdditionalContents.get( location => "OpacNav", lang => lang, library => logged_in_user.branchcode || default_branch, blocktitle => 0 ) %]
|
||||
[% SET OpacNavBottom = AdditionalContents.get( location => "OpacNavBottom", lang => lang, library => logged_in_user.branchcode || default_branch, blocktitle => 0 ) %]
|
||||
[% INCLUDE 'doc-head-open.inc' %]
|
||||
<title>Browse our catalog › [% IF ( LibraryNameTitle ) %][% LibraryNameTitle | html %][% ELSE %]Koha online[% END %] catalog</title>
|
||||
<title>[% FILTER collapse %]
|
||||
[% t("Browse our catalog") | html %] ›
|
||||
[% PROCESS 'library_name_title' %]
|
||||
[% END %]</title>
|
||||
[% INCLUDE 'doc-head-close.inc' %]
|
||||
[% BLOCK cssinclude %][% END %]
|
||||
</head>
|
||||
|
|
|
@ -7,8 +7,12 @@
|
|||
[% USE Branches %]
|
||||
[% USE TablesSettings %]
|
||||
[% PROCESS 'i18n.inc' %]
|
||||
[% PROCESS 'html_helpers.inc' %]
|
||||
[% INCLUDE 'doc-head-open.inc' %]
|
||||
<title>Course reserves for [% course.course_name | html %][%- IF course.section -%] - [% course.section | html %][%- END -%] › [% IF ( LibraryNameTitle ) %][% LibraryNameTitle | html %][% ELSE %]Koha online[% END %] catalog</title>
|
||||
<title>[% FILTER collapse %]
|
||||
[% tx("Course reserves for '{course_name}'", { course_name = course.course_name }) | html %] ›
|
||||
[% PROCESS 'library_name_title' %]
|
||||
[% END %]</title>
|
||||
[% INCLUDE 'doc-head-close.inc' %]
|
||||
[% BLOCK cssinclude %][% END %]
|
||||
|
||||
|
@ -22,7 +26,7 @@
|
|||
<a href="/cgi-bin/koha/opac-course-reserves.pl">Course reserves</a>
|
||||
[% END %]
|
||||
[% WRAPPER breadcrumb_item bc_active= 1 %]
|
||||
<span>Course reserves for <em>[% course.course_name | html %][%- IF course.section -%] - [% course.section | html %][%- END -%]</em></span>
|
||||
[% tx("Course reserves for '{course_name}'", { course_name = course.course_name }) | html %]
|
||||
[% END %]
|
||||
[% END #/ WRAPPER breadcrumbs %]
|
||||
|
||||
|
@ -31,7 +35,7 @@
|
|||
<div class="col">
|
||||
<div id="course_reserves" class="maincontent">
|
||||
|
||||
<h1>Course reserves for <em>[% course.course_name | html %][%- IF course.section -%] - [% course.section | html %][%- END -%]</em></h1>
|
||||
<h1>[% tx("Course reserves for '{course_name}'", { course_name = course.course_name }) | html %]</h1>
|
||||
<div class="rows">
|
||||
<ol>
|
||||
[% IF ( course.term ) %]<li><span class="label">[% tp('Semester', 'Term:') | html %]</span> [% AuthorisedValues.GetByCode( 'TERM', course.term, 1 ) | html %]</li>[% END %]
|
||||
|
|
|
@ -4,9 +4,12 @@
|
|||
[% USE AuthorisedValues %]
|
||||
[% USE TablesSettings %]
|
||||
[% PROCESS 'i18n.inc' %]
|
||||
|
||||
[% PROCESS 'html_helpers.inc' %]
|
||||
[% INCLUDE 'doc-head-open.inc' %]
|
||||
<title>Courses › [% IF ( LibraryNameTitle ) %][% LibraryNameTitle | html %][% ELSE %]Koha online[% END %] catalog</title>
|
||||
<title>[% FILTER collapse %]
|
||||
[% t("Course reserves") | html %] ›
|
||||
[% PROCESS 'library_name_title' %]
|
||||
[% END %]</title>
|
||||
[% INCLUDE 'doc-head-close.inc' %]
|
||||
[% BLOCK cssinclude %][% END %]
|
||||
|
||||
|
@ -25,7 +28,7 @@
|
|||
<div class="row">
|
||||
<div class="col order-first order-md-first order-lg-2">
|
||||
<div id="courses" class="maincontent">
|
||||
<h1>Courses</h1>
|
||||
<h1>Courses reserves</h1>
|
||||
|
||||
<table id="course_reserves_table" class="table table-bordered table-striped table-condensed">
|
||||
<caption class="sr-only">Courses</caption>
|
||||
|
|
|
@ -167,6 +167,8 @@ if ($show_marc) {
|
|||
}
|
||||
}
|
||||
$template->param( "Tab0XX" => \@loop_data );
|
||||
my $summary = BuildSummary( $record, $authid, $authtypecode );
|
||||
$template->param( summary => $summary );
|
||||
} else {
|
||||
my $AuthorityXSLTOpacDetailsDisplay = C4::Context->preference('AuthorityXSLTOpacDetailsDisplay');
|
||||
if ($AuthorityXSLTOpacDetailsDisplay) {
|
||||
|
|
Loading…
Reference in a new issue