changeset 4154:8c3131d68ae9 gsoc-2009

Add html template for showing revision info
author Pygi <pygi@users.sourceforge.net>
date Thu, 02 Jul 2009 11:24:31 +0000
parents 82bfc48047bc
children 4090332cf707
files scripts/notify-roundup/html/svn_rev.item.html
diffstat 1 files changed, 31 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/scripts/notify-roundup/html/svn_rev.item.html	Thu Jul 02 11:24:31 2009 +0000
@@ -0,0 +1,31 @@
+<tal:block metal:use-macro="templates/page/macros/icing">
+<title metal:fill-slot="head_title">
+ SVN Revision <span tal:replace="context/revision" />
+</title>
+<tal:block metal:fill-slot="body_title">
+ SVN Revision <span tal:replace="context/revision" />
+</tal:block>
+
+<td class="content" metal:fill-slot="content">
+
+<p tal:condition="not:context/is_view_ok" i18n:translate="">You are not
+    allowed to view this page.</p>
+
+<div tal:condition="context/is_view_ok">
+
+<table class="messages">
+<tal:block repeat="file python:utils.getRevisionInfo(context)">
+ <tr>
+  <th tal:content="string: ${file/action} ${file/path}" />
+ </tr>
+ <tr tal:condition="file/info"><td><pre tal:content="file/info" /></td></tr>
+</tal:block>
+</table>
+
+<tal:block tal:condition="context/id" tal:replace="structure context/history" />
+
+</div>
+
+</td>
+
+</tal:block>

Roundup Issue Tracker: http://roundup-tracker.org/