Code

Added "My Issues" and "My Support" to extended template.
authorrichard <richard@57a73879-2fb5-44c3-a270-3262357dd7e2>
Wed, 1 Aug 2001 05:15:09 +0000 (05:15 +0000)
committerrichard <richard@57a73879-2fb5-44c3-a270-3262357dd7e2>
Wed, 1 Aug 2001 05:15:09 +0000 (05:15 +0000)
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@182 57a73879-2fb5-44c3-a270-3262357dd7e2

README.txt
roundup/templates/extended/html/issue.index
roundup/templates/extended/html/support.index
roundup/templates/extended/htmlbase.py
roundup/templates/extended/interfaces.py

index c5a54e17ce15fa5469a4659eaebc8588a1bb8c55..cd824188f2809b6af4b0c7ff18a7838e7416a6aa 100644 (file)
@@ -85,7 +85,7 @@ cgi_client
   . 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
index 0109620ef74e9036ec51b1ba09ccf6bf8464a3c9..59045d880a905f42e3a564533ea66bf8c5526cb6 100644 (file)
@@ -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>
index e0d60b26e6c9093d9e6c9063b275bcf9039fb2f5..e69f4ba08c6ddf00bc5769a489f04303bd3bc510 100644 (file)
@@ -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>
index 911f4a7260bf3a8e892f3f9ff29080736bf4cba8..4223b1de89a6f953aeff57cdf2335adff2d2de4b 100644 (file)
@@ -67,7 +67,7 @@ issueDOTfilter = """<!-- dollarId: issue.filter,v 1.2 2001/07/30 01:26:59 richar
 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 @@ supportDOTfilter = """<!-- dollarId: support.filter,v 1.1 2001/07/30 01:27:28 ri
 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>
index 071e4ab1af55fb9ffccc5751514e1d3cdd643727..814c0efab7e46c40df00d161282db398cf2fb179 100644 (file)
@@ -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 @@ class Client(cgi_client.Client):
 <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 @@ class MailGW(mailgw.MailGW):
 
 #
 # $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