[MKDoc-commit] [1.6] File size changed so it's wrapped in a span

chris at mkdoc.demon.co.uk chris at mkdoc.demon.co.uk
Thu Sep 29 09:56:30 BST 2005


Log Message:
-----------
[1.6] File size changed so it's wrapped in a span

Tags:
----
mkdoc-1-6

Modified Files:
--------------
    mkd/templates/component/file:
        en.html

-------------- next part --------------
Index: en.html
===================================================================
RCS file: /var/spool/cvs/mkd/templates/component/file/Attic/en.html,v
retrieving revision 1.1.2.17
retrieving revision 1.1.2.18
diff -Ltemplates/component/file/en.html -Ltemplates/component/file/en.html -u -r1.1.2.17 -r1.1.2.18
--- templates/component/file/en.html
+++ templates/component/file/en.html
@@ -180,6 +180,9 @@
       petal:content="self/title"
       petal:attributes="href self/uri"
     >wonderful-file.txt</a>
-    (<span petal:replace="self/formatted_file_size"></span>)
+    <small
+      petal:content="self/formatted_file_size"
+      petal:condition="self/formatted_file_size"
+    >12M</small>
   </p>
 </div>


More information about the MKDoc-commit mailing list