Bug 14544: Make the intranet side independent of Page.pm
[koha.git] / koha-tmpl / intranet-tmpl / prog / en / modules / virtualshelves / downloadshelf.tt
index 357ebe4..96fa994 100644 (file)
@@ -2,18 +2,34 @@
 <title>Koha &rsaquo; Download shelf</title>
 [% INCLUDE 'doc-head-close.inc' %]
 </head>
-<body style="padding:1em;">
+<body id="lists_downloadshelf" class="lists" style="padding:1em;">
+
+[% FOR m IN messages %]
+    <div class="dialog [% m.type %]">
+        [% 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 %]
+        [% 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>
+    <legend>Download list</legend>
        <ol><li>
-       <label for="format">Format : </label>
+    <label for="format">Format: </label>
         <select name="format" id="format">
-           <option value="">-- Choose Format --</option>
+        <option value="">-- Choose format --</option>
            <option value="iso2709">iso2709</option>
            <option value="ris">RIS</option>
            <option value="bibtex">BibTex</option>