Koha/koha-tmpl/intranet-tmpl/prog/en/modules/virtualshelves/downloadshelf.tt
Wainui Witika-Park 3e4aaf09f9 Bug 26703: virtualshelves folder
Swapped the order of the page titles to have the unique information
first, i.e. the name of the specific page displays first, and the name of the website (e.g. Koha) displays at the end.

To test:
1) Apply patch
2) Ensure each of the files in the virtualshelves folder are swapped around to display the most unique information first, and the website name is at the end
3) Ensure the pages displayed on the Staff Client that correspond to
these files also display the changes

Sponsored-by: Catalyst IT
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>

Signed-off-by: Henry Bolshaw <bolshawh@parliament.uk>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
2021-04-21 11:16:35 +02:00

49 lines
1.6 KiB
Text

[% INCLUDE 'doc-head-open.inc' %]
<title>Download shelf &rsaquo; Koha</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' %]
You do not have permission to view this list.
[% CASE 'does_not_exist' %]
This list does not exist.
[% CASE %]
[% m.code | html %]
[% 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>Download list</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" value="Save" /> <a class="cancel close" href="#">Cancel</a>
</fieldset>
</form>
[% END %]
</body>
</html>