[MKDoc-commit] Added bug report and fixed to it actually works
chris at mkdoc.demon.co.uk
chris at mkdoc.demon.co.uk
Thu May 5 12:26:12 BST 2005
Log Message:
-----------
Added bug report and fixed to it actually works
Tags:
----
mkdoc-1-6
Modified Files:
--------------
mkd/templates/fragments/menu_files:
en.html
-------------- next part --------------
Index: en.html
===================================================================
RCS file: /var/spool/cvs/mkd/templates/fragments/menu_files/Attic/en.html,v
retrieving revision 1.1.2.4
retrieving revision 1.1.2.5
diff -Ltemplates/fragments/menu_files/en.html -Ltemplates/fragments/menu_files/en.html -u -r1.1.2.4 -r1.1.2.5
--- templates/fragments/menu_files/en.html
+++ templates/fragments/menu_files/en.html
@@ -3,6 +3,16 @@
This template is used for listing of file components.
+There is a bug here - if a document *only* has one of these as an attachment:
+
+ style.css
+ favicon.ico
+ script.js
+
+Then an empty box will be generated.
+
+$Id$
+
?-->
<div
class="files"
@@ -23,17 +33,17 @@
</h2>
<div
+ petal:define="File_Loop self/components_list --file;"
petal:repeat="file File_Loop"
- petal:omit-tag="string: 1"
+ petal:omit-tag=""
>
<p
petal:attributes="class string:file-${file/extension}"
class="file-file"
- petal:condition="true: title;
- false: self/name_is --style.css;
- false: self/name_is --favicon.ico;
- false: self/name_is --script.js;"
-
+ petal:condition="true: file/title;
+ false: file/name_is --style.css;
+ false: file/name_is --favicon.ico;
+ false: file/name_is --script.js;"
>
<a
href="http://example.com/"
More information about the MKDoc-commit
mailing list