@@ -, +, @@ in opac-detail.tt - Apply patch - Do a search in OPAC that has more than 1 results - Go to the detail page of one of the items found - Verify that the details display as before and that you can browse the results with Previous and Next - In staff client, change OPACXSLTDetailsDisplay from 'default' to empty for "no xslt" and repeat steps above - In staff client, set HTML5MediaEnabled to 'OPAC' or 'OPAC and staff client' - Verify that media catalogued in field 856 still work - Create a new translation for a 'language' aa-AA (perl translate create aa-AA) - Verify that template directives ar no longer exposed in aa-AA-opac-bootstrap.po --- .../opac-tmpl/bootstrap/en/modules/opac-detail.tt | 86 +++++++++++----------- 1 file changed, 42 insertions(+), 44 deletions(-) --- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt +++ a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt @@ -46,7 +46,7 @@
@@ -243,8 +243,8 @@ [% IF ( collectiontitle ) %] Collection: [% collectiontitle %] - [% IF ( collectionissn ) %], ISSN [% collectionissn %] [% END %] - [% IF ( collectionvolume ) %]; [% collectionvolume %] [% END %] + [% IF ( collectionissn ) %] [% ', ISSN ' _ collectionissn %][% END %] + [% IF ( collectionvolume ) %] [% ' ; ' _ collectionvolume %] [% END %] [% END %] @@ -303,9 +303,9 @@ [% FOREACH SUBFIELD IN MARCSUBJCT.MARCSUBJECT_SUBFIELDS_LOOP %] [% SUBFIELD.separator %] [% IF Koha.Preference( 'OPACPopupAuthorsSearch' ) == 1 %] - [% SUBFIELD.value %] + [% SUBFIELD.value %] [% ELSE %] - [% SUBFIELD.value %] + [% SUBFIELD.value %] [% END %] [% END %] [% IF (MARCSUBJCT.authoritylink) %] @@ -540,17 +540,17 @@
-
@@ -827,12 +827,12 @@ [% IF ( subscription.letter ) %] [% IF ( loggedinusername ) %] [% IF ( subscription.hasalert ) %] - You have subscribed to email notification on new issues. Cancel email notification + You have subscribed to email notification on new issues. Cancel email notification [% ELSE %] Subscribe to email notification on new issues [% END %] [% ELSE %] - You must log in if you want to subscribe to email notification on new issues + You must log in if you want to subscribe to email notification on new issues [% END %] [% END %] [% IF ( subscription.missinglist ) %] @@ -855,18 +855,18 @@ [% latestserial.serialseq %] [% latestserial.planneddate %] - [% IF (latestserial.status1 ) %]Expected[% END %] - [% IF (latestserial.status2 ) %]Arrived[% END %] - [% IF (latestserial.status3 ) %]Late[% END %] - [% IF (latestserial.status4 ) %]Missing[% END %] - [% IF (latestserial.status41 ) %]Missing (never received)[% END %] - [% IF (latestserial.status42 ) %]Missing (sold out)[% END %] - [% IF (latestserial.status43 ) %]Missing (damaged)[% END %] - [% IF (latestserial.status44 ) %]Missing (lost)[% END %] - [% IF (latestserial.status5 ) %]Not issued[% END %] - [% IF (latestserial.status6 ) %]Delete[% END %] - [% IF (latestserial.status7 ) %]Claimed[% END %] - [% IF (latestserial.status8 ) %]Stopped[% END %] + [% IF (latestserial.status1 ) %]Expected[% END %] + [% IF (latestserial.status2 ) %]Arrived[% END %] + [% IF (latestserial.status3 ) %]Late[% END %] + [% IF (latestserial.status4 ) %]Missing[% END %] + [% IF (latestserial.status41 ) %]Missing (never received)[% END %] + [% IF (latestserial.status42 ) %]Missing (sold out)[% END %] + [% IF (latestserial.status43 ) %]Missing (damaged)[% END %] + [% IF (latestserial.status44 ) %]Missing (lost)[% END %] + [% IF (latestserial.status5 ) %]Not issued[% END %] + [% IF (latestserial.status6 ) %]Delete[% END %] + [% IF (latestserial.status7 ) %]Claimed[% END %] + [% IF (latestserial.status8 ) %]Stopped[% END %] [% latestserial.notes %] @@ -996,12 +996,12 @@ [% XISBN.description %] [% END %] [% XISBN.title |html %] - [% IF ( XISBN.author ) %] by [% XISBN.author |html %][% END %] - [% IF ( XISBN.copyrightdate ) %] ©[% XISBN.copyrightdate %][% END %] + [% IF ( XISBN.author ) %] by [% XISBN.author |html %][% END %] + [% IF ( XISBN.copyrightdate ) %] ©[% XISBN.copyrightdate %][% END %] [% IF ( XISBN.publishercode ) %]

[% XISBN.publishercode |html %] [% IF ( XISBN.place ) %]([% XISBN.place %])[% END %] - [% IF ( XISBN.publicationyear ) %], [% XISBN.publicationyear %][% END %] + [% IF ( XISBN.publicationyear ) _ ', ' _ XISBN.publicationyear %][% END %] [% IF ( XISBN.pages ) %][% XISBN.pages %] [% XISBN.illus %] [% XISBN.size %][% END %]

[% END %] @@ -1016,9 +1016,10 @@
[% FOREACH HTML5MediaSet IN HTML5MediaSets %]

- <[% HTML5MediaParent %] controls preload=none> - <[% HTML5MediaSet.child %] src="[% HTML5MediaSet.srcblock %]"[% HTML5MediaSet.typeblock %] /> - [[% HTML5MediaParent %] tag not supported by your browser.] + [% SET ctrl_preload = ' controls preload=none' #translatability %] + <[% HTML5MediaParent _ ctrl_preload %] > + <[% HTML5MediaSet.child _ 'src="' _ HTML5MediaSet.srcblock _'"' _ HTML5MediaSet.typeblock %] /> + [[% HTML5MediaParent %] tag not supported by your browser.]

[% END %] @@ -1066,11 +1067,8 @@
[% END # / IF Babeltheque %] - [% INCLUDE "openlibrary-readapi.inc" bib = { - normalized_isbn => normalized_isbn, - lccn => lccn, - normalized_oclc => normalized_oclc - } %] + [%# Following on one line due to translation issues %] + [% INCLUDE "openlibrary-readapi.inc" bib = { normalized_isbn => normalized_isbn,lccn => lccn, normalized_oclc => normalized_oclc } %]
@@ -1337,9 +1335,9 @@ [% IF holds_count.defined %] [% ITEM_RESULT.holds_count %] [% END %] [% IF ITEM_RESULT.priority %] [% IF holds_count.defined %] - (priority [% ITEM_RESULT.priority %]) + (priority [% ITEM_RESULT.priority %]) [% ELSE %] - [% ITEM_RESULT.priority %] + [% ITEM_RESULT.priority %] [% END %] [% END %] --