[zopeorg-checkins] CVS: Products/ZopeOrg-NV/skins/nzo - folder_factories.html:1.2 macros_repository.html:1.5

Sidnei da Silva sidnei at x3ng.com.br
Thu Jan 9 15:15:19 EST 2003


Update of /cvs-zopeorg/Products/ZopeOrg-NV/skins/nzo
In directory cvs.zope.org:/tmp/cvs-serv11531/nzo

Modified Files:
	folder_factories.html macros_repository.html 
Log Message:
major ui fixes

=== Products/ZopeOrg-NV/skins/nzo/folder_factories.html 1.1 => 1.2 ===
   </td>
   <td align="left"><strong><label for=""
     tal:attributes="for string:cb_${repeat/item/number}"
-    tal:content="item/Type"></label></strong>
+    tal:content="item/Title"></label></strong>
   </td>
   <td align="left" tal:content="item/Description"></td>
 </tr>


=== Products/ZopeOrg-NV/skins/nzo/macros_repository.html 1.4 => 1.5 ===
 <!-- start byline - new action_box -->
 
 <span id="ACTIONS_BAR" metal:define-macro="byline"
-     tal:condition="python:not isAnon"
-     tal:define="getIcon python:hasattr(here, 'getIcon') and here.getIcon();
-                     icon python:getIcon or getattr(here, 'icon', '');
-                     typ python:getattr(here, 'Type', '');
-                     objID python:here.truncID( here.getId(), size=25 )">
-  <div id="BYLINE_TITLE"><img tal:condition="icon" src=""
-                             tal:attributes="src icon; alt typ">&nbsp;<span tal:content="here/Title" tal:omit-tag="">Job Jar For Future Projects</span></div>
-
-    <div>By <a href=""
-          tal:attributes="href python:mtool.getHomeUrl(here.Creator())"
-          tal:content="here/Creator">Some Author</a>
-        (updated <span tal:replace="here/ModificationDate">2001-09-17 14:29:59</span> )
-    </div>
-
-    <div id="objectactions"
-         tal:condition="python:not isAnon and (len( object_actions ) &gt; 1 or len( folder_actions ) &gt; 1 or len( workflow_actions ) &gt; 1)">
-
-      <div tal:condition="python:len(object_actions) &gt; 1"><span tal:repeat="action object_actions"
-            tal:omit-tag=""><a href=""
-    tal:attributes="href action/url"
-    tal:content="action/name">View</a><span
-    tal:condition="not:repeat/action/end" tal:omit-tag="">&nbsp;|&nbsp;</span></span></div>
-
-      <div tal:condition="python:len(folder_actions) &gt; 1"><span tal:repeat="action folder_actions"
-            tal:omit-tag=""><a href=""
-    tal:attributes="href action/url"
-    tal:content="action/name">Edit</a><span
-    tal:condition="not:repeat/action/end" tal:omit-tag="">&nbsp;|&nbsp;</span></span></div>
-
-      <div tal:condition="python:len(workflow_actions) &gt; 1"><span tal:condition="workflow_actions"
-            class="ObjectStatus" tal:omit-tag="">Status: <span
-    tal:replace="python: wtool.getInfoFor(here,'review_state','')">Private
-</span></span>&nbsp;<span tal:repeat="action workflow_actions"
-            tal:omit-tag=""><a href="content_submit_form"
-    tal:attributes="href action/url"
-    tal:content="action/name">Submit</a><span
-    tal:condition="not:repeat/action/end" tal:omit-tag="">&nbsp;|&nbsp;</span></span></div>
-    </div>
-    <br />
+tal:condition="python:not isAnon"
+tal:define="getIcon python:hasattr(here, 'getIcon') and here.getIcon();
+icon python:getIcon or getattr(here, 'icon', '');
+typ python:getattr(here, 'Type', '');
+objID python:here.truncID( here.getId(), size=25 )">
+
+<table width="100%">
+  <tr>
+    <td>
+      <div id="BYLINE_TITLE"><img tal:condition="icon" src=""
+      tal:attributes="src icon; alt typ">&nbsp;<span
+      tal:content="here/Title" tal:omit-tag="">
+      Job Jar For Future Projects</span></div>
+      
+      <div>By <a href=""
+      tal:attributes="href python:mtool.getHomeUrl(here.Creator())"
+      tal:content="here/Creator">Some Author</a>
+      (updated <span tal:replace="here/ModificationDate">
+      2001-09-17 14:29:59</span> )
+      </div>
+    </td>
+    <td align="right">
+      
+      <div tal:condition="workflow_actions"
+      tal:omit-tag=""><b>Status: </b><span
+      tal:replace="python: wtool.getInfoFor(here,'review_state','')">
+      Private</span></div>
+
+      <div id="objectactions"
+      tal:condition="python:not isAnon and (object_actions  or  folder_actions  or workflow_actions )">
+
+      <form action="processAction" method="POST">
+
+      <select name="action_url">
+	<optgroup label="Object Actions" tal:condition="python:len(object_actions)">
+	
+	<option tal:repeat="action object_actions"
+	  value=""
+	  tal:attributes="value action/url"
+	  tal:content="action/name">
+	  View</option>
+	</optgroup>
+
+	<optgroup label="Folder Actions" tal:condition="python:len(folder_actions)">
+	  
+	<option tal:repeat="action folder_actions"
+	  value=""
+	  tal:attributes="value action/url"
+	  tal:content="action/name">View</option>
+	</optgroup>
+
+	<optgroup label="Workflow Actions" tal:condition="python:len(workflow_actions)">
+
+	<option tal:repeat="action workflow_actions"
+	  value=""
+	  tal:attributes="value action/url"
+	  tal:content="action/name">View</option>
+	</optgroup>
+	  
+      </select>
+
+      <input type="submit" value="Go" />
+
+      </form>
+      </div>
+
+    </td>
+  </tr>
+</table>
 </span>
 
 <!-- end byline - new action_box -->





More information about the zopeorg-checkins mailing list