[CMF-checkins] CVS: Products/CMFTopic/skins/zpt_topic - topic_view.pt:1.5.42.1

Jens Vagelpohl jens at dataflake.org
Wed Aug 4 06:53:30 EDT 2004


Update of /cvs-repository/Products/CMFTopic/skins/zpt_topic
In directory cvs.zope.org:/tmp/cvs-serv25251/CMFTopic/skins/zpt_topic

Modified Files:
      Tag: CMF-1_4-branch
	topic_view.pt 
Log Message:
- CMFTopic: Change topic_view template to show title and ID (it only
  showed title before; http://www.zope.org/Collectors/CMF/180)


=== Products/CMFTopic/skins/zpt_topic/topic_view.pt 1.5 => 1.5.42.1 ===
--- Products/CMFTopic/skins/zpt_topic/topic_view.pt:1.5	Sat Dec 15 15:04:24 2001
+++ Products/CMFTopic/skins/zpt_topic/topic_view.pt	Wed Aug  4 06:53:30 2004
@@ -35,9 +35,11 @@
     <div tal:repeat="match batch" tal:condition="batch">
         <a href=""
             tal:attributes="href string:${match/getURL}/view"
-            tal:content="match/Title"> Match Title </a>
+        ><tal:span tal:content="match/getId">ID</tal:span>
+        <tal:case tal:condition="match/Title"
+           tal:content="string:(${match/Title})">(Title)</tal:case
+      ></a>
     </div>
-
 
     <span tal:define="p batch/previous" tal:condition="p">
     <a href=""



More information about the CMF-checkins mailing list