Owen Leonard
b2f479f51c
This patch updates catalog, basket, and lists templates so that title tags can be more easily translated. To test, apply the patch and confirm that the following pages have the correct title tags: - Advanced search - Search results - Bibliographic details - MARC preview - Image viewer (with local cover images) - MARC details - Labeled MARC details - ISBD details - Items - Checkout history - Rota - Add titles to the cart and view the cart - Send cart - Item search - Lists - View list - New list - Edit list - Send list Signed-off-by: David Nind <david@davidnind.com> Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
55 lines
1.8 KiB
Text
55 lines
1.8 KiB
Text
[% USE raw %]
|
|
[% PROCESS 'i18n.inc' %]
|
|
[% INCLUDE 'doc-head-open.inc' %]
|
|
<title>[% FILTER collapse %]
|
|
[% t("Download list") | html %] ›
|
|
[% t("Lists") | html %] ›
|
|
[% t("Koha") | html %]
|
|
[% END %]</title>
|
|
[% INCLUDE 'doc-head-close.inc' %]
|
|
</head>
|
|
<body id="lists_downloadshelf" class="lists" style="padding:1em;">
|
|
|
|
[% FOR m IN messages %]
|
|
<div class="dialog [% m.type | html %]">
|
|
[% SWITCH m.code %]
|
|
[% CASE 'unauthorized' %]
|
|
<span>You do not have permission to view this list.</span>
|
|
[% CASE 'does_not_exist' %]
|
|
<span>This list does not exist.</span>
|
|
[% CASE %]
|
|
<span>[% m.code | html %]</span>
|
|
[% END %]
|
|
</div>
|
|
[% END %]
|
|
|
|
|
|
|
|
[% IF ( format ) %]
|
|
<p>Your download should begin automatically.</p>
|
|
[% ELSE %]
|
|
<div id="export" class="detailtagcell"> <form method="post" action="/cgi-bin/koha/virtualshelves/downloadshelf.pl">
|
|
<form method="post" action="/cgi-bin/koha/virtualshelves/downloadshelf.pl">
|
|
<fieldset class="rows">
|
|
<legend><h1>Download list</h1></legend>
|
|
<ol><li>
|
|
<label for="format">Format: </label>
|
|
<select name="format" id="format">
|
|
<option value="">-- Choose format --</option>
|
|
<option value="iso2709">MARC</option>
|
|
<option value="ris">RIS</option>
|
|
<option value="bibtex">BibTex</option>
|
|
[% FOREACH csv_profile IN csv_profiles %]
|
|
<option value="[% csv_profile.export_format_id | html %]">CSV - [% csv_profile.profile | html %]</option>
|
|
[% END %]
|
|
</select>
|
|
</li></ol>
|
|
</fieldset>
|
|
<fieldset class="action"><input type="hidden" name="shelfid" value="[% shelfid | html %]" />
|
|
<input type="submit" name="save" class="btn btn-primary" value="Save" /> <a class="cancel close" href="#">Cancel</a>
|
|
</fieldset>
|
|
</form>
|
|
|
|
[% END %]
|
|
</body>
|
|
</html>
|