summaryrefslogtreecommitdiff
path: root/examples/filebrowser/templates
diff options
context:
space:
mode:
Diffstat (limited to 'examples/filebrowser/templates')
-rw-r--r--examples/filebrowser/templates/view_file.pt5
1 files changed, 4 insertions, 1 deletions
diff --git a/examples/filebrowser/templates/view_file.pt b/examples/filebrowser/templates/view_file.pt
index 6872ffa..c65551b 100644
--- a/examples/filebrowser/templates/view_file.pt
+++ b/examples/filebrowser/templates/view_file.pt
@@ -9,7 +9,10 @@ Parent: <a tal:attributes="href options/parent/url"
tal:content="options/parent/name">name</a><br>
</tal:if>
</tal:if>
-Mimetype: <span tal:replace="servlet/mimetype"/><br>
+Mimetype: <tt tal:content="servlet/mimetype"/>
+<tal:if condition="servlet/size_text | nothing">
+&nbsp; &nbsp; Size: <tt tal:content="servlet/size_text"/></tal:if>
+<br>
<a tal:attributes="href servlet/pathurl/action=download">download</a>
<tal:if condition="options/allow_edit"> |
<a tal:attributes="href servlet/pathurl/action=edit">edit</a></tal:if>