Bug 5917 : Tracking template changes
authorChris Cormack <chrisc@catalyst.net.nz>
Wed, 23 Mar 2011 03:57:52 +0000 (16:57 +1300)
committerChris Cormack <chrisc@catalyst.net.nz>
Wed, 23 Mar 2011 03:57:52 +0000 (16:57 +1300)
koha-tt/intranet-tmpl/prog/en/modules/suggestion/suggestion.tt
koha-tt/opac-tmpl/prog/en/modules/opac-suggestions.tt

index 7353f48..ad31532 100644 (file)
@@ -152,7 +152,7 @@ h4.collapse a { font-size : 80%; text-decoration: none; } fieldset.brief ol { di
         </table></li></ol>
     </fieldset>
     <fieldset class="rows"> <legend>Acquisition information</legend><ol>
-        <li><label for="branchcode">Branchcode:</label>
+        <li><label for="branchcode">Library:</label>
             <select name="branchcode" id="branchcode">
                 <option value="">Any</option>[% FOREACH branchloo IN branchloop %]
                 [% IF ( branchloo.selected ) %]<option value="[% branchloo.value %]" selected="selected">[% branchloo.branchname %]</option>[% ELSE %]<option value="[% branchloo.value %]">[% branchloo.branchname %]</option>[% END %][% END %]
index 41815b4..426dadd 100644 (file)
@@ -91,6 +91,19 @@ $.tablesorter.addParser({
                        [% IF ( itemtypeloo.selected ) %]<option value="[% itemtypeloo.itemtype %]" selected="selected"> [% ELSE %]<option value="[% itemtypeloo.itemtype %]"> [% END %] [% itemtypeloo.description %]</option>
         [% END %]
         </select> </li>
+    [% IF ( branch_loop ) %]
+    <li><label for="branch">Branch:</label>
+        <select name="branch" id="branch">
+        [% FOREACH branch_loo IN branch_loop %]
+            [% IF ( branch_loo.selected ) %]
+            <option value="[% branch_loo.value %]" selected="selected">[% branch_loo.branchname %]</option>
+            [% ELSE %]
+            <option value="[% branch_loo.value %]">[% branch_loo.branchname %]</option>
+            [% END %]
+        [% END %]
+        </select>
+    </li>
+    [% END %]
     [% IF ( patron_reason_loop ) %]<li><label for="patronreason">Reason for suggestion: </label><select name="patronreason" id="patronreason"><option value="">-- Choose --</option>[% FOREACH patron_reason_loo IN patron_reason_loop %]
            <option value="[% patron_reason_loo.authorised_value %]">[% patron_reason_loo.lib %]</option>
     [% END %]</select></li>[% END %]