[3296] | 1 | <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" |
---|
| 2 | lang="en" |
---|
| 3 | metal:use-macro="here/prefs_main_template/macros/master" |
---|
| 4 | i18n:domain="plone"> |
---|
| 5 | |
---|
| 6 | <metal:block fill-slot="top_slot" |
---|
| 7 | tal:define="dummy python:request.set('disable_border',1)" /> |
---|
| 8 | |
---|
| 9 | <body> |
---|
| 10 | |
---|
| 11 | <div metal:fill-slot="prefs_configlet_content" |
---|
| 12 | tal:define="cstool nocall:portal/portal_cache_settings; |
---|
| 13 | portal_type context/portal_type; |
---|
| 14 | policy cstool/getDisplayPolicy; |
---|
| 15 | config python:modules['Products.CacheSetup.config']; |
---|
| 16 | plone25 python:config.PLONE25 or ''; |
---|
| 17 | create python:context.checkCreationFlag() and portal_type != config.TOOL_TYPE;"> |
---|
| 18 | |
---|
| 19 | <div class="documentEditable" tal:attributes="id python:plone25 and 'content' or ''"> |
---|
| 20 | |
---|
| 21 | <ul metal:use-macro="here/cache_tool_config/macros/cache_tabs"></ul> |
---|
| 22 | |
---|
| 23 | <div metal:use-macro="here/global_contentviews/macros/content_actions"> |
---|
| 24 | The content bar |
---|
| 25 | </div> |
---|
| 26 | |
---|
| 27 | <div class="documentContent" tal:attributes="id python:plone25 and '' or 'content'"> |
---|
| 28 | <a name="documentContent"></a> |
---|
| 29 | |
---|
| 30 | <div class="configlet"> |
---|
| 31 | |
---|
| 32 | <div metal:use-macro="here/global_statusmessage/macros/portal_message" /> |
---|
| 33 | |
---|
| 34 | <tal:folders condition="python:portal_type == config.TOOL_TYPE"> |
---|
| 35 | <tal:def define="folder_macros here/old_folder_contents/macros|here/folder_contents/macros; |
---|
| 36 | batch python:context.getUncataloguedFolderContents(batch=True); |
---|
| 37 | actions python:here.getFolderButtons(actions); |
---|
| 38 | view_title string:Cache Policies; |
---|
| 39 | full_view python:False;"> |
---|
| 40 | <div metal:use-macro="folder_macros/contents"> |
---|
| 41 | |
---|
| 42 | <metal:header_slot metal:fill-slot="listingheader"> |
---|
| 43 | <th class="nosort"> ID </th> |
---|
| 44 | <th class="nosort" |
---|
| 45 | > <tal:modified i18n:translate="listingheader_modified" |
---|
| 46 | >Modified</tal:modified> </th> |
---|
| 47 | <th class="nosort" |
---|
| 48 | > <tal:order i18n:translate="listingheader_order" |
---|
| 49 | >Order</tal:order> </th> |
---|
| 50 | </metal:header_slot> |
---|
| 51 | |
---|
| 52 | <metal:item_slot metal:fill-slot="item_display"> |
---|
| 53 | <td tal:content="item_id"></td> |
---|
| 54 | <td tal:content="python:toLocalizedTime(item_modified, long_format=1)" |
---|
| 55 | tal:attributes="class item_wf_state_class">08/19/2001 03:01 AM |
---|
| 56 | </td> |
---|
| 57 | <td tal:define="pps python:modules['Products.PythonScripts.standard']; |
---|
| 58 | quoted_item_id python:pps.url_quote(item_id)" |
---|
| 59 | tal:condition="python:isOrderable and canModifyFolderContent and not preSorted"> |
---|
| 60 | <a href="" |
---|
| 61 | title="Move item up" |
---|
| 62 | i18n:attributes="title title_move_item_up;" |
---|
| 63 | tal:attributes="href string:$here_url/cache_folder_position?position=up&id=$quoted_item_id&template_id=${template_id}"> |
---|
| 64 | <img tal:replace="structure arrowUp" /> |
---|
| 65 | </a> |
---|
| 66 | |
---|
| 67 | <a href="" |
---|
| 68 | title="Move item down" |
---|
| 69 | i18n:attributes="title title_move_item_down;" |
---|
| 70 | tal:attributes="href string:$here_url/cache_folder_position?position=down&id=$quoted_item_id&template_id=${template_id}"> |
---|
| 71 | <img tal:replace="structure arrowDown" /> |
---|
| 72 | </a> |
---|
| 73 | </td> |
---|
| 74 | </metal:item_slot> |
---|
| 75 | |
---|
| 76 | </div> |
---|
| 77 | |
---|
| 78 | </tal:def> |
---|
| 79 | </tal:folders> |
---|
| 80 | |
---|
| 81 | <tal:folderItems condition="python:portal_type == config.POLICY_TYPE"> |
---|
| 82 | <div metal:use-macro="here/cache_setup_items_config/macros/cache-items"></div> |
---|
| 83 | </tal:folderItems> |
---|
| 84 | |
---|
| 85 | </div> |
---|
| 86 | </div> |
---|
| 87 | </div> |
---|
| 88 | </div> |
---|
| 89 | </body> |
---|
| 90 | </html> |
---|