source: WAeUP_SRP/base/skins/waeup_default/id_rename_form.pt @ 3349

Last change on this file since 3349 was 2027, checked in by Henrik Bettermann, 17 years ago

make rename applicable to WAeUPDocument

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