[Checkins] SVN: Products.CMFDefault/trunk/Products/CMFDefault/browser/content/ templates folder removed as agreed with yuppie
Charlie Clark
charlie at begeistert.org
Tue Jun 29 16:30:17 EDT 2010
Log message for revision 113993:
templates folder removed as agreed with yuppie
Changed:
A Products.CMFDefault/trunk/Products/CMFDefault/browser/content/document.pt
A Products.CMFDefault/trunk/Products/CMFDefault/browser/content/folder.pt
A Products.CMFDefault/trunk/Products/CMFDefault/browser/content/folder_contents.pt
A Products.CMFDefault/trunk/Products/CMFDefault/browser/content/image.pt
A Products.CMFDefault/trunk/Products/CMFDefault/browser/content/link.pt
A Products.CMFDefault/trunk/Products/CMFDefault/browser/content/source.pt
D Products.CMFDefault/trunk/Products/CMFDefault/browser/content/templates/document.pt
D Products.CMFDefault/trunk/Products/CMFDefault/browser/content/templates/folder.pt
D Products.CMFDefault/trunk/Products/CMFDefault/browser/content/templates/folder_contents.pt
D Products.CMFDefault/trunk/Products/CMFDefault/browser/content/templates/image.pt
D Products.CMFDefault/trunk/Products/CMFDefault/browser/content/templates/link.pt
D Products.CMFDefault/trunk/Products/CMFDefault/browser/content/templates/source.pt
-=-
Copied: Products.CMFDefault/trunk/Products/CMFDefault/browser/content/document.pt (from rev 113989, Products.CMFDefault/trunk/Products/CMFDefault/browser/content/templates/document.pt)
===================================================================
--- Products.CMFDefault/trunk/Products/CMFDefault/browser/content/document.pt (rev 0)
+++ Products.CMFDefault/trunk/Products/CMFDefault/browser/content/document.pt 2010-06-29 20:30:16 UTC (rev 113993)
@@ -0,0 +1,27 @@
+<html metal:use-macro="context/@@standard_macros/page">
+<head>
+
+<metal:slot fill-slot="style_slot">
+<tal:span tal:replace="structure context/getBaseTag" />
+</metal:slot>
+
+</head>
+<body>
+
+<metal:slot metal:fill-slot="body">
+<h1 id="DesktopTitle" tal:content="view/title">Document Title</h1>
+
+<div id="DesktopDescription" tal:content="view/description">Document
+ Description goes here.</div>
+
+<metal:macro metal:use-macro="context/content_byline/macros/byline" />
+
+<tal:span tal:replace="structure view/text">Cooked Body</tal:span>
+
+<div class="Discussion" tal:condition="context/viewThreadsAtBottom|nothing">
+ <tal:span tal:replace="structure context/viewThreadsAtBottom" />
+</div>
+</metal:slot>
+
+</body>
+</html>
Copied: Products.CMFDefault/trunk/Products/CMFDefault/browser/content/folder.pt (from rev 113989, Products.CMFDefault/trunk/Products/CMFDefault/browser/content/templates/folder.pt)
===================================================================
--- Products.CMFDefault/trunk/Products/CMFDefault/browser/content/folder.pt (rev 0)
+++ Products.CMFDefault/trunk/Products/CMFDefault/browser/content/folder.pt 2010-06-29 20:30:16 UTC (rev 113993)
@@ -0,0 +1,36 @@
+<html metal:use-macro="context/@@standard_macros/page">
+<body>
+
+<metal:slot metal:fill-slot="body" i18n:domain="cmf_default"
+><tal:case tal:condition="not: view/has_local"
+><h1 id="DesktopTitle" tal:content="view/title">Page Title</h1>
+
+<div id="DesktopDescription" tal:content="view/description">Description
+ of the resource goes here, perhaps even wrapping lines; this is to make it
+ long enough to test.</div></tal:case
+><tal:case tal:condition="view/has_local"
+><div metal:use-macro="context/local_pt/macros/header | default">'local_pt'
+ header goes here.</div></tal:case>
+
+ <div id="content_well"
+ style="float: left; top: 0; width: 78%;">
+ <div tal:condition="not: view/has_local">
+
+<metal:macro metal:use-macro="context/@@batch_widget/listing" />
+<metal:macro metal:use-macro="context/@@batch_widget/navigation" />
+
+ </div>
+ <div tal:condition="view/has_local">
+ <div metal:use-macro="context/local_pt/macros/body | default">
+ 'local_pt' body goes here.
+ </div>
+ </div>
+ </div>
+ <div id="right_sidebar"
+ style="float: right; width: 20%">
+<tal:span tal:replace="structure context/news_box" />
+ </div>
+</metal:slot>
+
+</body>
+</html>
Copied: Products.CMFDefault/trunk/Products/CMFDefault/browser/content/folder_contents.pt (from rev 113989, Products.CMFDefault/trunk/Products/CMFDefault/browser/content/templates/folder_contents.pt)
===================================================================
--- Products.CMFDefault/trunk/Products/CMFDefault/browser/content/folder_contents.pt (rev 0)
+++ Products.CMFDefault/trunk/Products/CMFDefault/browser/content/folder_contents.pt 2010-06-29 20:30:16 UTC (rev 113993)
@@ -0,0 +1,82 @@
+<html metal:use-macro="context/@@standard_macros/page">
+<body>
+
+<metal:slot metal:fill-slot="body" i18n:domain="cmf_default">
+<h1 i18n:translate="">Folder Contents: <tal:span
+ tal:content="view/title" i18n:name="obj_title">Title</tal:span></h1>
+
+<p tal:define="up_info view/up_info" tal:condition="up_info"
+><tal:case tal:condition="up_info/url"
+ ><a href="" tal:attributes="href up_info/url"
+ ><img src="" alt="[Link]" border="0" tal:attributes="src up_info/icon"
+ i18n:attributes="alt" /></a>
+ <span tal:omit-tag="" i18n:translate="">Up to</span>
+ <a href="" tal:attributes="href up_info/url"
+ tal:content="up_info/id">ID</a></tal:case
+><tal:case tal:condition="not: up_info/url"
+ ><span class="mild" i18n:translate="">Root</span></tal:case></p>
+
+<ul class="errors" tal:condition="view/errors">
+ <li tal:repeat="error view/error_views"><tal:span
+ tal:replace="structure error" /></li>
+</ul>
+
+<p class="status"
+ tal:condition="exists: request/portal_status_message"
+ tal:content="request/portal_status_message"></p>
+
+<form class="form" action="." method="post" enctype="multipart/form-data"
+ tal:attributes="action request/ACTUAL_URL">
+ <tal:block repeat="widget view/hidden_widgets"
+ replace="structure widget/hidden" />
+ <table tal:condition="view/has_subobjects">
+ <tr>
+ <th tal:repeat="column view/column_headings"
+ tal:attributes="colspan column/colspan | nothing"><a href="column"
+ tal:content="column/title"
+ tal:attributes="href column/url"
+ >Column Title</a></th>
+ </tr>
+ <tr tal:repeat="item view/listBatchItems"
+ tal:attributes="class python: (repeat['item'].even() and 'row-hilite') or ''">
+ <td tal:content="structure item/select">Checkbox</td>
+ <td><a href="" tal:attributes="href item/url"
+ tal:condition="item/icon"
+ ><img src="" alt="" border="0"
+ tal:attributes="src item/icon; alt item/type"
+ i18n:attributes="alt" /></a></td>
+ <td><a tal:attributes="href string:${item/url}/edit.html" tal:content="string:${item/name} (${item/title})"></a></td>
+ <td tal:content="item/ModificationDate"></td>
+ <td tal:content="item/position"></td>
+ </tr>
+ </table>
+<div class="buttons">
+ <tal:loop tal:repeat="action view/object_actions"
+ tal:replace="structure action/render" />
+</div>
+<div class="buttons">
+ <tal:loop tal:repeat="action view/delta_actions"
+ tal:replace="structure action/render" />
+ <div tal:condition="view/is_orderable"
+ tal:define="widget python:view.widgets.get('delta');
+ hint widget/hint | nothing">
+ <label tal:attributes="for widget/name; title python: hint or None"
+ tal:content="widget/label">Move By</label>
+ <tal:block tal:replace="structure view/widgets/delta" />
+ </div>
+</div>
+<div class="buttons">
+ <tal:loop tal:repeat="action view/absolute_actions"
+ tal:replace="structure action/render" />
+</div>
+<div class="buttons">
+ <tal:loop tal:repeat="action view/sort_actions"
+ tal:replace="structure action/render" />
+</div>
+</form>
+<metal:macro metal:use-macro="context/@@batch_widget/navigation" />
+<metal:macro metal:use-macro="context/@@batch_widget/pagination" />
+</metal:slot>
+
+</body>
+</html>
\ No newline at end of file
Copied: Products.CMFDefault/trunk/Products/CMFDefault/browser/content/image.pt (from rev 113989, Products.CMFDefault/trunk/Products/CMFDefault/browser/content/templates/image.pt)
===================================================================
--- Products.CMFDefault/trunk/Products/CMFDefault/browser/content/image.pt (rev 0)
+++ Products.CMFDefault/trunk/Products/CMFDefault/browser/content/image.pt 2010-06-29 20:30:16 UTC (rev 113993)
@@ -0,0 +1,27 @@
+<html metal:use-macro="context/@@standard_macros/page">
+<head>
+
+<metal:slot fill-slot="base">
+<tal:span tal:replace="structure context/getBaseTag" />
+</metal:slot>
+
+</head>
+<body>
+
+<metal:slot metal:fill-slot="body">
+<h1 id="DesktopTitle" tal:content="view/title">Document Title</h1>
+
+<div id="DesktopDescription" tal:content="view/description">Document
+ Description goes here.</div>
+
+<metal:macro metal:use-macro="context/content_byline/macros/byline" />
+
+<tal:span tal:replace="structure view/image">Image Tag</tal:span>
+
+<div class="Discussion" tal:condition="context/viewThreadsAtBottom|nothing">
+ <tal:span tal:replace="structure context/viewThreadsAtBottom" />
+</div>
+</metal:slot>
+
+</body>
+</html>
Copied: Products.CMFDefault/trunk/Products/CMFDefault/browser/content/link.pt (from rev 113989, Products.CMFDefault/trunk/Products/CMFDefault/browser/content/templates/link.pt)
===================================================================
--- Products.CMFDefault/trunk/Products/CMFDefault/browser/content/link.pt (rev 0)
+++ Products.CMFDefault/trunk/Products/CMFDefault/browser/content/link.pt 2010-06-29 20:30:16 UTC (rev 113993)
@@ -0,0 +1,29 @@
+<html metal:use-macro="context/@@standard_macros/page">
+<head>
+
+<metal:slot fill-slot="style_slot">
+<tal:span tal:replace="structure context/getBaseTag" />
+</metal:slot>
+
+</head>
+<body>
+
+<metal:slot metal:fill-slot="body" i18n:domain="cmf_default">
+<h1 id="DesktopTitle" tal:content="view/title">Document Title</h1>
+
+<div id="DesktopDescription" tal:content="view/description">Document
+ Description goes here.</div>
+
+<metal:macro metal:use-macro="context/content_byline/macros/byline" />
+
+<p i18n:translate="">Link:
+ <a href="" tal:attributes="href view/url" tal:content="view/url"
+ i18n:name="link">http://www.zope.org</a></p>
+
+<div class="Discussion" tal:condition="context/viewThreadsAtBottom|nothing">
+ <tal:span tal:replace="structure context/viewThreadsAtBottom" />
+</div>
+</metal:slot>
+
+</body>
+</html>
Copied: Products.CMFDefault/trunk/Products/CMFDefault/browser/content/source.pt (from rev 113989, Products.CMFDefault/trunk/Products/CMFDefault/browser/content/templates/source.pt)
===================================================================
--- Products.CMFDefault/trunk/Products/CMFDefault/browser/content/source.pt (rev 0)
+++ Products.CMFDefault/trunk/Products/CMFDefault/browser/content/source.pt 2010-06-29 20:30:16 UTC (rev 113993)
@@ -0,0 +1,11 @@
+<html tal:define="hdrlist context/getMetadataHeaders">
+ <head>
+ <title tal:content="view/title">the title</title><tal:block
+ tal:repeat="hdr hdrlist"><tal:block
+ tal:condition="python:hdr[0].lower() != 'title'">
+ <meta name="" content=""
+ tal:attributes="name python:hdr[0]; content python:hdr[1];"
+ /></tal:block></tal:block>
+ </head>
+ <body><p tal:replace="structure view/editable_body">EditableBody</p></body>
+</html>
Deleted: Products.CMFDefault/trunk/Products/CMFDefault/browser/content/templates/document.pt
===================================================================
--- Products.CMFDefault/trunk/Products/CMFDefault/browser/content/templates/document.pt 2010-06-29 18:59:24 UTC (rev 113992)
+++ Products.CMFDefault/trunk/Products/CMFDefault/browser/content/templates/document.pt 2010-06-29 20:30:16 UTC (rev 113993)
@@ -1,27 +0,0 @@
-<html metal:use-macro="context/@@standard_macros/page">
-<head>
-
-<metal:slot fill-slot="style_slot">
-<tal:span tal:replace="structure context/getBaseTag" />
-</metal:slot>
-
-</head>
-<body>
-
-<metal:slot metal:fill-slot="body">
-<h1 id="DesktopTitle" tal:content="view/title">Document Title</h1>
-
-<div id="DesktopDescription" tal:content="view/description">Document
- Description goes here.</div>
-
-<metal:macro metal:use-macro="context/content_byline/macros/byline" />
-
-<tal:span tal:replace="structure view/text">Cooked Body</tal:span>
-
-<div class="Discussion" tal:condition="context/viewThreadsAtBottom|nothing">
- <tal:span tal:replace="structure context/viewThreadsAtBottom" />
-</div>
-</metal:slot>
-
-</body>
-</html>
Deleted: Products.CMFDefault/trunk/Products/CMFDefault/browser/content/templates/folder.pt
===================================================================
--- Products.CMFDefault/trunk/Products/CMFDefault/browser/content/templates/folder.pt 2010-06-29 18:59:24 UTC (rev 113992)
+++ Products.CMFDefault/trunk/Products/CMFDefault/browser/content/templates/folder.pt 2010-06-29 20:30:16 UTC (rev 113993)
@@ -1,36 +0,0 @@
-<html metal:use-macro="context/@@standard_macros/page">
-<body>
-
-<metal:slot metal:fill-slot="body" i18n:domain="cmf_default"
-><tal:case tal:condition="not: view/has_local"
-><h1 id="DesktopTitle" tal:content="view/title">Page Title</h1>
-
-<div id="DesktopDescription" tal:content="view/description">Description
- of the resource goes here, perhaps even wrapping lines; this is to make it
- long enough to test.</div></tal:case
-><tal:case tal:condition="view/has_local"
-><div metal:use-macro="context/local_pt/macros/header | default">'local_pt'
- header goes here.</div></tal:case>
-
- <div id="content_well"
- style="float: left; top: 0; width: 78%;">
- <div tal:condition="not: view/has_local">
-
-<metal:macro metal:use-macro="context/@@batch_widget/listing" />
-<metal:macro metal:use-macro="context/@@batch_widget/navigation" />
-
- </div>
- <div tal:condition="view/has_local">
- <div metal:use-macro="context/local_pt/macros/body | default">
- 'local_pt' body goes here.
- </div>
- </div>
- </div>
- <div id="right_sidebar"
- style="float: right; width: 20%">
-<tal:span tal:replace="structure context/news_box" />
- </div>
-</metal:slot>
-
-</body>
-</html>
Deleted: Products.CMFDefault/trunk/Products/CMFDefault/browser/content/templates/folder_contents.pt
===================================================================
--- Products.CMFDefault/trunk/Products/CMFDefault/browser/content/templates/folder_contents.pt 2010-06-29 18:59:24 UTC (rev 113992)
+++ Products.CMFDefault/trunk/Products/CMFDefault/browser/content/templates/folder_contents.pt 2010-06-29 20:30:16 UTC (rev 113993)
@@ -1,82 +0,0 @@
-<html metal:use-macro="context/@@standard_macros/page">
-<body>
-
-<metal:slot metal:fill-slot="body" i18n:domain="cmf_default">
-<h1 i18n:translate="">Folder Contents: <tal:span
- tal:content="view/title" i18n:name="obj_title">Title</tal:span></h1>
-
-<p tal:define="up_info view/up_info" tal:condition="up_info"
-><tal:case tal:condition="up_info/url"
- ><a href="" tal:attributes="href up_info/url"
- ><img src="" alt="[Link]" border="0" tal:attributes="src up_info/icon"
- i18n:attributes="alt" /></a>
- <span tal:omit-tag="" i18n:translate="">Up to</span>
- <a href="" tal:attributes="href up_info/url"
- tal:content="up_info/id">ID</a></tal:case
-><tal:case tal:condition="not: up_info/url"
- ><span class="mild" i18n:translate="">Root</span></tal:case></p>
-
-<ul class="errors" tal:condition="view/errors">
- <li tal:repeat="error view/error_views"><tal:span
- tal:replace="structure error" /></li>
-</ul>
-
-<p class="status"
- tal:condition="exists: request/portal_status_message"
- tal:content="request/portal_status_message"></p>
-
-<form class="form" action="." method="post" enctype="multipart/form-data"
- tal:attributes="action request/ACTUAL_URL">
- <tal:block repeat="widget view/hidden_widgets"
- replace="structure widget/hidden" />
- <table tal:condition="view/has_subobjects">
- <tr>
- <th tal:repeat="column view/column_headings"
- tal:attributes="colspan column/colspan | nothing"><a href="column"
- tal:content="column/title"
- tal:attributes="href column/url"
- >Column Title</a></th>
- </tr>
- <tr tal:repeat="item view/listBatchItems"
- tal:attributes="class python: (repeat['item'].even() and 'row-hilite') or ''">
- <td tal:content="structure item/select">Checkbox</td>
- <td><a href="" tal:attributes="href item/url"
- tal:condition="item/icon"
- ><img src="" alt="" border="0"
- tal:attributes="src item/icon; alt item/type"
- i18n:attributes="alt" /></a></td>
- <td><a tal:attributes="href string:${item/url}/edit.html" tal:content="string:${item/name} (${item/title})"></a></td>
- <td tal:content="item/ModificationDate"></td>
- <td tal:content="item/position"></td>
- </tr>
- </table>
-<div class="buttons">
- <tal:loop tal:repeat="action view/object_actions"
- tal:replace="structure action/render" />
-</div>
-<div class="buttons">
- <tal:loop tal:repeat="action view/delta_actions"
- tal:replace="structure action/render" />
- <div tal:condition="view/is_orderable"
- tal:define="widget python:view.widgets.get('delta');
- hint widget/hint | nothing">
- <label tal:attributes="for widget/name; title python: hint or None"
- tal:content="widget/label">Move By</label>
- <tal:block tal:replace="structure view/widgets/delta" />
- </div>
-</div>
-<div class="buttons">
- <tal:loop tal:repeat="action view/absolute_actions"
- tal:replace="structure action/render" />
-</div>
-<div class="buttons">
- <tal:loop tal:repeat="action view/sort_actions"
- tal:replace="structure action/render" />
-</div>
-</form>
-<metal:macro metal:use-macro="context/@@batch_widget/navigation" />
-<metal:macro metal:use-macro="context/@@batch_widget/pagination" />
-</metal:slot>
-
-</body>
-</html>
\ No newline at end of file
Deleted: Products.CMFDefault/trunk/Products/CMFDefault/browser/content/templates/image.pt
===================================================================
--- Products.CMFDefault/trunk/Products/CMFDefault/browser/content/templates/image.pt 2010-06-29 18:59:24 UTC (rev 113992)
+++ Products.CMFDefault/trunk/Products/CMFDefault/browser/content/templates/image.pt 2010-06-29 20:30:16 UTC (rev 113993)
@@ -1,27 +0,0 @@
-<html metal:use-macro="context/@@standard_macros/page">
-<head>
-
-<metal:slot fill-slot="base">
-<tal:span tal:replace="structure context/getBaseTag" />
-</metal:slot>
-
-</head>
-<body>
-
-<metal:slot metal:fill-slot="body">
-<h1 id="DesktopTitle" tal:content="view/title">Document Title</h1>
-
-<div id="DesktopDescription" tal:content="view/description">Document
- Description goes here.</div>
-
-<metal:macro metal:use-macro="context/content_byline/macros/byline" />
-
-<tal:span tal:replace="structure view/image">Image Tag</tal:span>
-
-<div class="Discussion" tal:condition="context/viewThreadsAtBottom|nothing">
- <tal:span tal:replace="structure context/viewThreadsAtBottom" />
-</div>
-</metal:slot>
-
-</body>
-</html>
Deleted: Products.CMFDefault/trunk/Products/CMFDefault/browser/content/templates/link.pt
===================================================================
--- Products.CMFDefault/trunk/Products/CMFDefault/browser/content/templates/link.pt 2010-06-29 18:59:24 UTC (rev 113992)
+++ Products.CMFDefault/trunk/Products/CMFDefault/browser/content/templates/link.pt 2010-06-29 20:30:16 UTC (rev 113993)
@@ -1,29 +0,0 @@
-<html metal:use-macro="context/@@standard_macros/page">
-<head>
-
-<metal:slot fill-slot="style_slot">
-<tal:span tal:replace="structure context/getBaseTag" />
-</metal:slot>
-
-</head>
-<body>
-
-<metal:slot metal:fill-slot="body" i18n:domain="cmf_default">
-<h1 id="DesktopTitle" tal:content="view/title">Document Title</h1>
-
-<div id="DesktopDescription" tal:content="view/description">Document
- Description goes here.</div>
-
-<metal:macro metal:use-macro="context/content_byline/macros/byline" />
-
-<p i18n:translate="">Link:
- <a href="" tal:attributes="href view/url" tal:content="view/url"
- i18n:name="link">http://www.zope.org</a></p>
-
-<div class="Discussion" tal:condition="context/viewThreadsAtBottom|nothing">
- <tal:span tal:replace="structure context/viewThreadsAtBottom" />
-</div>
-</metal:slot>
-
-</body>
-</html>
Deleted: Products.CMFDefault/trunk/Products/CMFDefault/browser/content/templates/source.pt
===================================================================
--- Products.CMFDefault/trunk/Products/CMFDefault/browser/content/templates/source.pt 2010-06-29 18:59:24 UTC (rev 113992)
+++ Products.CMFDefault/trunk/Products/CMFDefault/browser/content/templates/source.pt 2010-06-29 20:30:16 UTC (rev 113993)
@@ -1,11 +0,0 @@
-<html tal:define="hdrlist context/getMetadataHeaders">
- <head>
- <title tal:content="view/title">the title</title><tal:block
- tal:repeat="hdr hdrlist"><tal:block
- tal:condition="python:hdr[0].lower() != 'title'">
- <meta name="" content=""
- tal:attributes="name python:hdr[0]; content python:hdr[1];"
- /></tal:block></tal:block>
- </head>
- <body><p tal:replace="structure view/editable_body">EditableBody</p></body>
-</html>
More information about the checkins
mailing list