diff roundup/templates/classic/html/msg.item @ 1495:a2a57ec8fdf0

nicer page titles (sf feature 65197) [[That issue number is invalid.]]
author Richard Jones <richard@users.sourceforge.net>
date Thu, 06 Mar 2003 07:02:18 +0000
parents 9e7b2a54f862
children
line wrap: on
line diff
--- a/roundup/templates/classic/html/msg.item	Thu Mar 06 06:12:30 2003 +0000
+++ b/roundup/templates/classic/html/msg.item	Thu Mar 06 07:02:18 2003 +0000
@@ -1,8 +1,15 @@
 <!-- dollarId: msg.item,v 1.3 2002/05/22 00:32:34 richard Exp dollar-->
 <tal:block metal:use-macro="templates/page/macros/icing">
-<title metal:fill-slot="head_title">Message editing</title>
+<title metal:fill-slot="head_title"> 
+<span tal:replace="config/TRACKER_NAME" />: 
+<span tal:condition="context/id" tal:replace="string:Message ${context/id}" />
+<tal:x tal:condition="not:context/id">New Message</tal:x> 
+</title> 
 <td class="page-header-top" metal:fill-slot="body_title">
- <h2>Message editing</h2>
+ <h2>
+  Message<span tal:replace="context/id" />
+   <tal:x tal:condition="context/is_edit_ok">Editing</tal:x>
+ </h2>
 </td>
 <td class="content" metal:fill-slot="content">
 <table class="form">

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