changeset 2187:3b92a1b7a056

tracker name at end of page title (rfe [SF#926840])
author Richard Jones <richard@users.sourceforge.net>
date Mon, 05 Apr 2004 23:48:56 +0000
parents 3f89c8ffe4f1
children e170d3f917ad
files CHANGES.txt templates/classic/html/file.index.html templates/classic/html/issue.index.html templates/classic/html/issue.item.html templates/classic/html/msg.index.html templates/classic/html/msg.item.html templates/classic/html/query.edit.html templates/classic/html/user.item.html
diffstat 8 files changed, 14 insertions(+), 10 deletions(-) [+]
line wrap: on
line diff
--- a/CHANGES.txt	Mon Apr 05 23:43:04 2004 +0000
+++ b/CHANGES.txt	Mon Apr 05 23:48:56 2004 +0000
@@ -7,6 +7,7 @@
 - added url_quote and html_quote methods to the utils object
 - added isset method to HTMLProperty
 - database export now exports full journals too
+- tracker name at end of page title (sf rfe 926840)
 
 Fixed:
 - web CSV export was busted (as was any action returning a result)
--- a/templates/classic/html/file.index.html	Mon Apr 05 23:43:04 2004 +0000
+++ b/templates/classic/html/file.index.html	Mon Apr 05 23:48:56 2004 +0000
@@ -1,7 +1,7 @@
 <!-- dollarId: file.index,v 1.4 2002/01/23 05:10:27 richard Exp dollar-->
 <tal:block metal:use-macro="templates/page/macros/icing">
 <title metal:fill-slot="head_title"> 
- <span tal:replace="config/TRACKER_NAME" />: List of files
+ List of files - <span tal:replace="config/TRACKER_NAME" />
 </title> 
 <span metal:fill-slot="body_title" tal:omit-tag="python:1">List of files</span>
 <td class="content" metal:fill-slot="content">
--- a/templates/classic/html/issue.index.html	Mon Apr 05 23:43:04 2004 +0000
+++ b/templates/classic/html/issue.index.html	Mon Apr 05 23:48:56 2004 +0000
@@ -1,7 +1,7 @@
 <!-- dollarId: issue.index,v 1.2 2001/07/29 04:07:37 richard Exp dollar-->
 <tal:block metal:use-macro="templates/page/macros/icing">
 <title metal:fill-slot="head_title"> 
- <span tal:replace="config/TRACKER_NAME" />: List of issues
+ List of issues - <span tal:replace="config/TRACKER_NAME" />
 </title> 
 <span metal:fill-slot="body_title" tal:omit-tag="python:1">List of issues</span>
 <td class="content" metal:fill-slot="content">
--- a/templates/classic/html/issue.item.html	Mon Apr 05 23:43:04 2004 +0000
+++ b/templates/classic/html/issue.item.html	Mon Apr 05 23:48:56 2004 +0000
@@ -1,13 +1,14 @@
 <!-- dollarId: issue.item,v 1.4 2001/08/03 01:19:43 richard Exp dollar-->
 <tal:block metal:use-macro="templates/page/macros/icing">
 <title metal:fill-slot="head_title"> 
-<span tal:replace="config/TRACKER_NAME" />: 
-<span tal:condition="context/id"
-       tal:replace="string:Issue ${context/id}: ${context/title}" />
+<tal:x condition="context/id"
+       replace="string:Issue ${context/id}: ${context/title}" />
+<tal:x condition="not:context/id">New Issue</tal:x>
+- <tal:x replace="config/TRACKER_NAME" />
 </title> 
 <span metal:fill-slot="body_title" tal:omit-tag="python:1">
  <tal:x tal:condition="not:context/id">New</tal:x> 
-  Issue<span tal:replace="context/id" />
+  Issue<tal:x replace="context/id" />
    <tal:x tal:condition="context/is_edit_ok">Editing</tal:x>
  </span>
 
--- a/templates/classic/html/msg.index.html	Mon Apr 05 23:43:04 2004 +0000
+++ b/templates/classic/html/msg.index.html	Mon Apr 05 23:48:56 2004 +0000
@@ -1,6 +1,7 @@
 <tal:block metal:use-macro="templates/page/macros/icing">
 <title metal:fill-slot="head_title"> 
- <span tal:replace="config/TRACKER_NAME" />: List of messages
+ List of messages - 
+ <span tal:replace="config/TRACKER_NAME" />
 </title> 
 <span metal:fill-slot="body_title" tal:omit-tag="python:1">Message listing</span>
 <td class="content" metal:fill-slot="content">
--- a/templates/classic/html/msg.item.html	Mon Apr 05 23:43:04 2004 +0000
+++ b/templates/classic/html/msg.item.html	Mon Apr 05 23:48:56 2004 +0000
@@ -1,9 +1,9 @@
 <!-- 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"> 
-<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> 
+- <span tal:replace="config/TRACKER_NAME" />
 </title> 
 <span metal:fill-slot="body_title" tal:omit-tag="python:1">
   Message<span tal:replace="context/id" />
--- a/templates/classic/html/query.edit.html	Mon Apr 05 23:43:04 2004 +0000
+++ b/templates/classic/html/query.edit.html	Mon Apr 05 23:48:56 2004 +0000
@@ -1,7 +1,8 @@
 <!-- dollarId: user.item,v 1.7 2002/08/16 04:29:04 richard Exp dollar-->
 <tal:block metal:use-macro="templates/page/macros/icing">
 <title metal:fill-slot="head_title"> 
-<span tal:replace="config/TRACKER_NAME" />: "Your Queries" Editing
+"Your Queries" Editing
+- <span tal:replace="config/TRACKER_NAME" />
 </title> 
 <span metal:fill-slot="body_title" tal:omit-tag="python:1">
  "Your Queries" Editing
--- a/templates/classic/html/user.item.html	Mon Apr 05 23:43:04 2004 +0000
+++ b/templates/classic/html/user.item.html	Mon Apr 05 23:48:56 2004 +0000
@@ -1,10 +1,10 @@
 <!-- dollarId: user.item,v 1.7 2002/08/16 04:29:04 richard Exp dollar-->
 <tal:block metal:use-macro="templates/page/macros/icing">
 <title metal:fill-slot="head_title"> 
-<span tal:replace="config/TRACKER_NAME" />: 
 <span tal:condition="context/id"
       tal:replace="string:User ${context/id}: ${context/username}" />
 <tal:x tal:condition="not:context/id">New User</tal:x> 
+- <span tal:replace="config/TRACKER_NAME" />
 </title> 
 <span metal:fill-slot="body_title" tal:omit-tag="python:1">
   User<span tal:replace="context/id" />

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