| 1 | <metal:html use-macro="here/main_template/macros/master"> |
|---|
| 2 | |
|---|
| 3 | <metal:header fill-slot="header"> |
|---|
| 4 | |
|---|
| 5 | <h1 i18n:translate="heading_rename_items">Rename Items</h1> |
|---|
| 6 | <div class="description" i18n:translate="help_rename_items">Changing the id of an object does not |
|---|
| 7 | affect its title but changes the URL to access it. Links that point to the |
|---|
| 8 | current id won't find it anymore.</div> |
|---|
| 9 | |
|---|
| 10 | </metal:header> |
|---|
| 11 | |
|---|
| 12 | <metal:main fill-slot="main"> |
|---|
| 13 | |
|---|
| 14 | <div class="group" tal:condition="context/academics_rename_items" > |
|---|
| 15 | <form action="folder_rename" method="post" |
|---|
| 16 | tal:attributes="action string:${here_url}/id_rename"> |
|---|
| 17 | |
|---|
| 18 | <table width="90%"> |
|---|
| 19 | <tr tal:repeat="item context/academics_rename_items"> |
|---|
| 20 | <td align="left" valign="top" width="20%" nowrap="nowrap"> |
|---|
| 21 | <span tal:replace="structure item/iconHTML">Type Image</span> |
|---|
| 22 | <span tal:replace="item/getId">ID</span> |
|---|
| 23 | <input type="hidden" name="ids:list" value="" |
|---|
| 24 | tal:attributes="value item/getId" /> |
|---|
| 25 | </td> |
|---|
| 26 | |
|---|
| 27 | <td align="left" valign="top"> |
|---|
| 28 | <strong i18n:translate="label_rename_to">to</strong> |
|---|
| 29 | </td> |
|---|
| 30 | |
|---|
| 31 | <td align="left" valign="top"> |
|---|
| 32 | <input type="text" name="new_ids:list" value="" |
|---|
| 33 | tal:attributes="value item/getId" size="20" /> |
|---|
| 34 | </td> |
|---|
| 35 | </tr> |
|---|
| 36 | |
|---|
| 37 | <tr> |
|---|
| 38 | <td colspan="3"><br /> |
|---|
| 39 | <input class="standalone" type="submit" value="button_change" |
|---|
| 40 | i18n:attributes="value" /> |
|---|
| 41 | </td> |
|---|
| 42 | </tr> |
|---|
| 43 | </table> |
|---|
| 44 | |
|---|
| 45 | </form> |
|---|
| 46 | </div><!-- tal:condition="here/folder_rename_items" --> |
|---|
| 47 | |
|---|
| 48 | <div tal:condition="not: here/folder_rename_items"> |
|---|
| 49 | |
|---|
| 50 | <p i18n:translate="help_no_items_to_rename"> |
|---|
| 51 | You must select one or more items to rename. |
|---|
| 52 | </p> |
|---|
| 53 | <input class="standalone" |
|---|
| 54 | type="button" value="button_ok" onclick="history.back()" |
|---|
| 55 | i18n:attributes="value" /> |
|---|
| 56 | |
|---|
| 57 | </div> |
|---|
| 58 | |
|---|
| 59 | </metal:main> |
|---|
| 60 | </metal:html> |
|---|