[Checkins] SVN: Products.CMFTopic/trunk/Products/CMFTopic/ - synced view names with the names used in type Actions

Yvo Schubbe cvs-admin at zope.org
Thu Jul 11 21:56:43 CEST 2013


Log message for revision 130268:
  - synced view names with the names used in type Actions

Changed:
  A   Products.CMFTopic/trunk/Products/CMFTopic/browser/TODO.rst
  D   Products.CMFTopic/trunk/Products/CMFTopic/browser/TODO.txt
  U   Products.CMFTopic/trunk/Products/CMFTopic/browser/configure.zcml
  U   Products.CMFTopic/trunk/Products/CMFTopic/browser/topic.txt
  U   Products.CMFTopic/trunk/Products/CMFTopic/profiles/default/types/Topic.xml

-=-
Copied: Products.CMFTopic/trunk/Products/CMFTopic/browser/TODO.rst (from rev 130265, Products.CMFTopic/trunk/Products/CMFTopic/browser/TODO.txt)
===================================================================
--- Products.CMFTopic/trunk/Products/CMFTopic/browser/TODO.rst	                        (rev 0)
+++ Products.CMFTopic/trunk/Products/CMFTopic/browser/TODO.rst	2013-07-11 19:56:42 UTC (rev 130268)
@@ -0,0 +1,47 @@
+Converting skins to views:
+==========================
+
+[x] ITopic @@view:
+------------------
+- [x] topic_view.py
+- [x] topic_view_template.pt
+
+[x] IMutableMinimalDublinCore @@properties (without acquireCriteria):
+---------------------------------------------------------------------
+- [x] topic_edit_control.py -> use @@properties from CMFDefault
+- [x] topic_edit_form.py -> use @@properties from CMFDefault
+- [x] topic_edit_template.pt -> use @@properties from CMFDefault
+
+[x] IMutableTopic @@criteria (with acquireCriteria):
+----------------------------------------------------
+- [x] topic_addCriterion.py -> CriteriaView (ADD)
+- [x] topic_deleteCriteria.py -> CriteriaView (DELETE)
+- [x] topic_editCriteria.py -> CriteriaView (EDIT)
+- [x] topic_criteria_form.pt -> topic_criteria.pt
+- [x] acquireCriteria: topic_edit_control.py -> CriteriaView (EDIT)
+- [x] acquireCriteria: topic_edit_form.py -> CriteriaView (EDIT)
+- [x] acquireCriteria: topic_edit_template.pt -> topic_criteria.pt
+
+[x] FriendlyDateCriterion @@edit:
+---------------------------------
+- [x] friendlydatec_editform.pt -> friendlydatec_editform.pt
+
+[x] ListCriterion @@edit:
+-------------------------
+- [x] listc_edit.pt -> listc_edit.pt
+
+[x] SimpleIntCriterion @@edit:
+------------------------------
+- [x] sic_edit.pt -> sic_edit.pt
+
+[x] SimpleStringCriterion @@edit:
+---------------------------------
+- [x] ssc_edit.pt -> ssc_edit.pt
+
+[x] SortCriterion @@edit:
+-------------------------
+- [x] sort_edit.pt -> sort_edit.pt
+
+[x] ++resource++topic_icon.gif:
+-------------------------------
+- [x] topic_icon.gif

Deleted: Products.CMFTopic/trunk/Products/CMFTopic/browser/TODO.txt
===================================================================
--- Products.CMFTopic/trunk/Products/CMFTopic/browser/TODO.txt	2013-07-11 19:56:29 UTC (rev 130267)
+++ Products.CMFTopic/trunk/Products/CMFTopic/browser/TODO.txt	2013-07-11 19:56:42 UTC (rev 130268)
@@ -1,37 +0,0 @@
-Converting skins to views:
-
-  [x] ITopic @@view.html:
-      [x] topic_view.py
-      [x] topic_view_template.pt
-
-  [x] IMutableMinimalDublinCore @@properties.html (without acquireCriteria):
-      [x] topic_edit_control.py -> use @@properties.html from CMFDefault
-      [x] topic_edit_form.py -> use @@properties.html from CMFDefault
-      [x] topic_edit_template.pt -> use @@properties.html from CMFDefault
-
-  [x] IMutableTopic @@criteria.html (with acquireCriteria):
-      [x] topic_addCriterion.py -> CriteriaView (ADD)
-      [x] topic_deleteCriteria.py -> CriteriaView (DELETE)
-      [x] topic_editCriteria.py -> CriteriaView (EDIT)
-      [x] topic_criteria_form.pt -> topic_criteria.pt
-      [x] acquireCriteria: topic_edit_control.py -> CriteriaView (EDIT)
-      [x] acquireCriteria: topic_edit_form.py -> CriteriaView (EDIT)
-      [x] acquireCriteria: topic_edit_template.pt -> topic_criteria.pt
-
-  [x] FriendlyDateCriterion @@edit:
-      [x] friendlydatec_editform.pt -> friendlydatec_editform.pt
-
-  [x] ListCriterion @@edit:
-      [x] listc_edit.pt -> listc_edit.pt
-
-  [x] SimpleIntCriterion @@edit:
-      [x] sic_edit.pt -> sic_edit.pt
-
-  [x] SimpleStringCriterion @@edit:
-      [x] ssc_edit.pt -> ssc_edit.pt
-
-  [x] SortCriterion @@edit:
-      [x] sort_edit.pt -> sort_edit.pt
-
-  [x] ++resource++topic_icon.gif:
-      [x] topic_icon.gif

Modified: Products.CMFTopic/trunk/Products/CMFTopic/browser/configure.zcml
===================================================================
--- Products.CMFTopic/trunk/Products/CMFTopic/browser/configure.zcml	2013-07-11 19:56:29 UTC (rev 130267)
+++ Products.CMFTopic/trunk/Products/CMFTopic/browser/configure.zcml	2013-07-11 19:56:42 UTC (rev 130268)
@@ -5,7 +5,7 @@
   <browser:page
       for="Products.CMFTopic.interfaces.ITopic"
       layer="Products.CMFDefault.interfaces.ICMFDefaultSkin"
-      name="view.html"
+      name="view"
       class=".topic.TopicView"
       template="topic.pt"
       permission="zope2.View"
@@ -14,7 +14,7 @@
   <browser:page
       for="Products.CMFTopic.interfaces.IMutableTopic"
       layer="Products.CMFDefault.interfaces.ICMFDefaultSkin"
-      name="criteria.html"
+      name="criteria"
       class=".topic.TopicCriteriaView"
       template="topic_criteria.pt"
       permission="cmf.ChangePortalTopics"

Modified: Products.CMFTopic/trunk/Products/CMFTopic/browser/topic.txt
===================================================================
--- Products.CMFTopic/trunk/Products/CMFTopic/browser/topic.txt	2013-07-11 19:56:29 UTC (rev 130267)
+++ Products.CMFTopic/trunk/Products/CMFTopic/browser/topic.txt	2013-07-11 19:56:42 UTC (rev 130268)
@@ -25,12 +25,12 @@
 
 Use the criteria form.
 
-    >>> browser.open('http://localhost/site/myTopic/@@criteria.html')
+    >>> browser.open('http://localhost/site/myTopic/@@criteria')
     >>> 'Topic Criteria: myTopic' in browser.contents
     True
 
 Use the view.
 
-    >>> browser.open('http://localhost/site/myTopic/@@view.html')
+    >>> browser.open('http://localhost/site/myTopic/@@view')
     >>> '[[cmf_default][Topic Matches:]]' in browser.contents
     True

Modified: Products.CMFTopic/trunk/Products/CMFTopic/profiles/default/types/Topic.xml
===================================================================
--- Products.CMFTopic/trunk/Products/CMFTopic/profiles/default/types/Topic.xml	2013-07-11 19:56:29 UTC (rev 130267)
+++ Products.CMFTopic/trunk/Products/CMFTopic/profiles/default/types/Topic.xml	2013-07-11 19:56:42 UTC (rev 130268)
@@ -18,12 +18,9 @@
   <element value="Topic"/>
  </property>
  <property name="allow_discussion">False</property>
- <alias from="(Default)" to="@@view.html"/>
- <alias from="criteria" to="@@criteria.html"/>
- <alias from="folder_contents" to="@@edit.html"/>
- <alias from="index.html" to="@@view.html"/>
- <alias from="properties" to="@@properties.html"/>
- <alias from="view" to="@@view.html"/>
+ <alias from="(Default)" to="@@view"/>
+ <alias from="folder_contents" to="@@edit"/>
+ <alias from="index.html" to="@@view"/>
  <action title="View" action_id="view" category="object" condition_expr=""
     icon_expr="string:${portal_url}/preview_icon.png" link_target=""
     url_expr="string:${object_url}" visible="True">



More information about the checkins mailing list