changeset 176:9cfab7f55df0

Added "My Issues" and "My Support" to extended template.
author Richard Jones <richard@users.sourceforge.net>
date Wed, 01 Aug 2001 05:15:09 +0000
parents 2a33ac3e807d
children 59101dfd60bf
files README.txt roundup/templates/extended/html/issue.index roundup/templates/extended/html/support.index roundup/templates/extended/htmlbase.py roundup/templates/extended/interfaces.py
diffstat 5 files changed, 20 insertions(+), 14 deletions(-) [+]
line wrap: on
line diff
--- a/README.txt	Wed Aug 01 05:06:41 2001 +0000
+++ b/README.txt	Wed Aug 01 05:15:09 2001 +0000
@@ -85,7 +85,7 @@
   . e-mail messages should have the roundup CGI URL in them
 roundup.cgi
   . make it detect that it is in an instance_home and just use that
-    instance by default
+    instance by default?
 
 
 5. Known Bugs
--- a/roundup/templates/extended/html/issue.index	Wed Aug 01 05:06:41 2001 +0000
+++ b/roundup/templates/extended/html/issue.index	Wed Aug 01 05:15:09 2001 +0000
@@ -1,7 +1,7 @@
-<!-- $Id: issue.index,v 1.2 2001-07-30 01:26:59 richard Exp $-->
+<!-- $Id: issue.index,v 1.3 2001-08-01 05:15:09 richard Exp $-->
 <tr>
     <property name="id">
-        <td valign="top"><display call="field('id')"></td>
+        <td valign="top"><display call="plain('id')"></td>
     </property>
     <property name="activity">
         <td valign="top"><display call="reldate('activity', pretty=1)"></td>
--- a/roundup/templates/extended/html/support.index	Wed Aug 01 05:06:41 2001 +0000
+++ b/roundup/templates/extended/html/support.index	Wed Aug 01 05:15:09 2001 +0000
@@ -1,7 +1,7 @@
-<!-- $Id: support.index,v 1.1 2001-07-30 01:27:28 richard Exp $-->
+<!-- $Id: support.index,v 1.2 2001-08-01 05:15:09 richard Exp $-->
 <tr>
     <property name="id">
-        <td valign="top"><display call="field('id')"></td>
+        <td valign="top"><display call="plain('id')"></td>
     </property>
     <property name="activity">
         <td valign="top"><display call="reldate('activity', pretty=1)"></td>
--- a/roundup/templates/extended/htmlbase.py	Wed Aug 01 05:06:41 2001 +0000
+++ b/roundup/templates/extended/htmlbase.py	Wed Aug 01 05:15:09 2001 +0000
@@ -67,7 +67,7 @@
 issueDOTindex = """<!-- dollarId: issue.index,v 1.2 2001/07/30 01:26:59 richard Exp dollar-->
 <tr>
     <property name="id">
-        <td valign="top"><display call="field('id')"></td>
+        <td valign="top"><display call="plain('id')"></td>
     </property>
     <property name="activity">
         <td valign="top"><display call="reldate('activity', pretty=1)"></td>
@@ -438,7 +438,7 @@
 supportDOTindex = """<!-- dollarId: support.index,v 1.1 2001/07/30 01:27:28 richard Exp dollar-->
 <tr>
     <property name="id">
-        <td valign="top"><display call="field('id')"></td>
+        <td valign="top"><display call="plain('id')"></td>
     </property>
     <property name="activity">
         <td valign="top"><display call="reldate('activity', pretty=1)"></td>
--- a/roundup/templates/extended/interfaces.py	Wed Aug 01 05:06:41 2001 +0000
+++ b/roundup/templates/extended/interfaces.py	Wed Aug 01 05:15:09 2001 +0000
@@ -1,4 +1,4 @@
-# $Id: interfaces.py,v 1.4 2001-07-30 08:12:17 richard Exp $
+# $Id: interfaces.py,v 1.5 2001-08-01 05:15:09 richard Exp $
 
 import instance_config, urlparse, os
 from roundup import cgi_client, mailgw 
@@ -45,17 +45,20 @@
 <tr class="location-bar"><td><big><strong>%s</strong></big></td>
 <td align=right valign=bottom>%s</td></tr>
 <tr class="location-bar">
-<td align=left><a href="issue?status=unread,deferred,chatting,need-eg,in-progress,testing,done-cbb&:sort=activity&:columns=activity,status,title,assignedto&:group=priority">All issues</a> | 
-<a href="issue?status=unread,deferred,chatting,need-eg,in-progress,testing,done-cbb&:sort=activity&:columns=activity,status,title,assignedto&priority=fatal-bug,bug">Bugs</a> | 
-<a href="issue?status=unread,deferred,chatting,need-eg,in-progress,testing,done-cbb&:sort=activity&:columns=activity,status,title,assignedto&priority=usability,feature">Wishlist</a> | 
-<a href="support?status=unread,deferred,chatting,need-eg,in-progress,testing,done-cbb&:sort=activity&:columns=activity,status,title,assignedto&:group=customername">Support</a> | 
+<td align=left><a href="issue?status=unread,deferred,chatting,need-eg,in-progress,testing,done-cbb&:sort=activity&:columns=id,activity,status,title,assignedto&:group=priority">All issues</a> | 
+<a href="issue?status=unread,deferred,chatting,need-eg,in-progress,testing,done-cbb&:sort=activity&:columns=id,activity,status,title,assignedto&priority=fatal-bug,bug">Bugs</a> | 
+<a href="issue?status=unread,deferred,chatting,need-eg,in-progress,testing,done-cbb&:sort=activity&:columns=id,activity,status,title,assignedto&priority=usability,feature">Wishlist</a> | 
+<a href="support?status=unread,deferred,chatting,need-eg,in-progress,testing,done-cbb&:sort=activity&:columns=id,activity,status,title,assignedto&:group=customername">Support</a> | 
 <a href="newissue">New Issue</a> |
 <a href="newsupport">New Support</a> |
 <a href="newuser">New User</a>
 %s</td>
-<td align=right><a href="user%s">Your Details</a></td>
+<td align=right>
+<a href="issue?assignedto=%s&status=unread,deferred,chatting,need-eg,in-progress,testing,done-cbb&:sort=activity&:columns=id,activity,status,title,assignedto&:group=priority">My Issues</a> |
+<a href="support?assignedto=%s&status=unread,deferred,chatting,need-eg,in-progress,testing,done-cbb&:sort=activity&:columns=id,activity,status,title,assignedto&:group=customername">My Support</a> |
+<a href="user%s">Your Details</a></td>
 </table>
-'''%(title, style, message, title, self.user, extras, userid))
+'''%(title, style, message, title, self.user, extras, userid, userid, userid))
  
 class MailGW(mailgw.MailGW): 
     ''' derives basic mail gateway implementation from the standard module, 
@@ -67,6 +70,9 @@
 
 #
 # $Log: not supported by cvs2svn $
+# Revision 1.4  2001/07/30 08:12:17  richard
+# Added time logging and file uploading to the templates.
+#
 # Revision 1.3  2001/07/30 01:26:59  richard
 # Big changes:
 #  . split off the support priority into its own class

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