Code

- replaced the content() callback ickiness with Page Template macro usage
[roundup.git] / roundup / templates / classic / html / file.item
index 6b5f0fed925057a69c945d1a5dbf4e3fcb0f5832..e540f8ae9bc6267d21092c67092e9538d6bcdeb2 100644 (file)
@@ -1,3 +1,11 @@
+<tal:block metal:use-macro="templates/page/macros/page">
+<title metal:fill-slot="head_title">File display</title>
+<td class="page-header-top" metal:fill-slot="body_title">
+ <h2>File display</h2>
+</td>
+
+<td class="content" metal:fill-slot="content">
+
 <span tal:condition="python:not (context.is_view_ok() or context.is_edit_ok())">
 You are not allowed to view this page.
 </span>
@@ -49,4 +57,6 @@ You are not allowed to view this page.
 
 <tal:block tal:condition="python:context.id and context.is_view_ok()"
            tal:replace="structure context/history" />
+</td>
 
+</tal:block>