1 [% INCLUDE 'doc-head-open.inc' %]
2 <title>Koha › Tools › Rotating Collections › Edit Collections</title>
3 [% INCLUDE 'doc-head-close.inc' %]
6 [% INCLUDE 'header.inc' %]
7 [% INCLUDE 'cat-search.inc' %]
9 <div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> › <a href="/cgi-bin/koha/tools/tools-home.pl">Tools</a> › <a href="/cgi-bin/koha/rotating_collections/rotatingCollections.pl">Rotating Collections</a> › Edit Collections</div>
14 <h1>Rotating Collections: Edit Collections</h1>
17 [% IF ( previousActionCreate ) %]
18 [% IF ( createSuccess ) %]
19 <div>Collection '[% createdTitle %]' Created Successfully!</div>
21 <div>Collection '[% createdTitle %]' Failed To Be Created!</div>
22 <div>Reason: <strong>[% failureMessage %]</strong></div>
26 [% IF ( previousActionDelete ) %]
27 [% IF ( DeleteSuccess ) %]
28 <div>Collection Deleted Successfully!</div>
30 <div>Collection Failed To Be Deleted!</div>
35 [% IF ( previousActionUpdate ) %]
36 [% IF ( updateSuccess ) %]
37 <div>Collection '[% updatedTitle %]' Updated Successfully!</div>
39 <div>Collection '[% updatedTitle %]' Failed To Be Updated!</div>
40 <div>Reason: <strong>[% failureMessage %]</strong></div>
45 [% IF ( collectionsLoop ) %]
50 <th>Holding Library</th>
54 [% FOREACH collectionsLoo IN collectionsLoop %]
56 <td>[% collectionsLoo.colTitle %]</td>
57 <td>[% collectionsLoo.colDesc %]</td>
58 <td>[% collectionsLoo.colBranchcode %]</td>
59 <td><a href="editCollections.pl?action=edit&colId=[% collectionsLoo.colId %]">Edit</a></td>
60 <td><a href="editCollections.pl?action=delete&colId=[% collectionsLoo.colId %]">Delete</a></td>
65 There are no Collections currently defined.
72 [% IF ( previousActionEdit ) %]
73 <h1>Edit Collection</h1>
75 <h1>Create New Collection</h1>
78 <form action="editCollections.pl" method="post">
79 [% IF ( previousActionEdit ) %]
80 <input type="hidden" name="action" value="update" />
81 <input type="hidden" name="colId" value="[% editColId %]" />
83 <input type="hidden" name="action" value="create" />
89 <label for="title">Title: </label>
92 [% IF ( editColTitle ) %]<input type="text" name="title" value="[% editColTitle %]" />
93 [% ELSE %]<input type="text" name="title" />[% END %]
99 <label for="description">Description: </label>
102 [% IF (editColDescription ) %]<input type="text" size="50" name="description" value="[ editColDescription %]" />
103 [% ELSE %]<input type="text" size="50" name="description" />[% END %]
109 [% IF ( previousActionEdit ) %]
110 <input type="submit" value="Update" />
112 <input type="submit" value="Create" />
122 <input type="button" value="Return to Rotating Collections Home" onclick="window.location.href='rotatingCollections.pl'">
127 [% INCLUDE 'intranet-bottom.inc' %]