[Zope-Checkins] SVN: Products.Five/branches/philikon-local-components/component/ rename the template propertly

Philipp von Weitershausen philikon at philikon.de
Wed Mar 1 00:30:22 EST 2006


Log message for revision 65658:
  rename the template propertly
  

Changed:
  U   Products.Five/branches/philikon-local-components/component/configure.zcml
  A   Products.Five/branches/philikon-local-components/component/customizetemplate.pt
  D   Products.Five/branches/philikon-local-components/component/customizeview.pt
  U   Products.Five/branches/philikon-local-components/component/templateviews.pt

-=-
Modified: Products.Five/branches/philikon-local-components/component/configure.zcml
===================================================================
--- Products.Five/branches/philikon-local-components/component/configure.zcml	2006-03-01 05:29:25 UTC (rev 65657)
+++ Products.Five/branches/philikon-local-components/component/configure.zcml	2006-03-01 05:30:21 UTC (rev 65658)
@@ -19,8 +19,8 @@
        template="templateviews.pt"
        />
     <browser:page
-       name="customizeview.html"
-       template="customizeview.pt"
+       name="customizetemplate.html"
+       template="customizetemplate.pt"
        />
     <browser:page
        name="customizetemplate"

Copied: Products.Five/branches/philikon-local-components/component/customizetemplate.pt (from rev 65631, Products.Five/branches/philikon-local-components/component/customizeview.pt)

Deleted: Products.Five/branches/philikon-local-components/component/customizeview.pt
===================================================================
--- Products.Five/branches/philikon-local-components/component/customizeview.pt	2006-03-01 05:29:25 UTC (rev 65657)
+++ Products.Five/branches/philikon-local-components/component/customizeview.pt	2006-03-01 05:30:21 UTC (rev 65658)
@@ -1,25 +0,0 @@
-<html metal:use-macro="context/@@standard_macros/view"
-      i18n:domain="zope">
-  <body>
-  <div metal:fill-slot="body">
-
-  <p i18n:translate="">This is the source of the
-  <code tal:content="request/form/viewname">viewname</code>:</p>
-
-  <pre tal:content="python:view.templateSource(request.form['viewname'])">
-    template source
-  </pre>
-
-  <form action="." action="customizeTemplate" method="post"
-        enctype="multipart/form-data">
-
-    <input type="hidden" name="viewname" value="theviewname"
-           tal:attributes="value request/form/viewname" />
-    <input type="submit" name="" value="Customize" />
-
-  </form>
-
-  </div>
-  </body>
-
-</html>

Modified: Products.Five/branches/philikon-local-components/component/templateviews.pt
===================================================================
--- Products.Five/branches/philikon-local-components/component/templateviews.pt	2006-03-01 05:29:25 UTC (rev 65657)
+++ Products.Five/branches/philikon-local-components/component/templateviews.pt	2006-03-01 05:30:21 UTC (rev 65658)
@@ -9,7 +9,7 @@
   <ul>
     <li tal:repeat="reg view/templateViewRegistrations">
       <a href=""
-         tal:attributes="href string:@@customize.html?viewname=${reg/name}"
+         tal:attributes="href string:@@customizetemplate.html?viewname=${reg/name}"
          tal:content="reg/name">
       </a>
       as defined in <tal:var replace="reg/info/filename" />.



More information about the Zope-Checkins mailing list