[MKDoc-commit] [1.6] catchall loop displays untemplated components at end of pull-down

bruno at mkdoc.demon.co.uk bruno at mkdoc.demon.co.uk
Thu May 12 16:57:59 BST 2005


Log Message:
-----------
[1.6] catchall loop displays untemplated components at end of pull-down

Tags:
----
mkdoc-1-6

Modified Files:
--------------
    mkd/templates/editor/box:
        en.html

-------------- next part --------------
Index: en.html
===================================================================
RCS file: /var/spool/cvs/mkd/templates/editor/box/Attic/en.html,v
retrieving revision 1.1.2.5
retrieving revision 1.1.2.6
diff -Ltemplates/editor/box/en.html -Ltemplates/editor/box/en.html -u -r1.1.2.5 -r1.1.2.6
--- templates/editor/box/en.html
+++ templates/editor/box/en.html
@@ -196,6 +196,28 @@
         >User Discussion</option>
       </span>
 
+      <span
+        petal:omit-tag=""
+        petal:repeat="option option_list"
+      >
+        <option
+          value="foo"
+          petal:condition="false: option/type/discussion;
+                           false: option/type/file;
+                           false: option/type/headlines;
+                           false: option/type/html;
+                           false: option/type/image;
+                           false: option/type/link;
+                           false: option/type/photo;
+                           false: option/type/poll;
+                           false: option/type/rss;
+                           false: option/type/text;
+                           false: option/type/timerange;"
+          petal:attributes="value option/name"
+          petal:content="option/label"
+        >Foo Component</option>
+      </span>
+
     </select>
 
     <input


More information about the MKDoc-commit mailing list