Skip to content

Commit e6649f4

Browse files
author
Richard Jones
committed
Big changes:
. split off the support priority into its own class . added "new support, new user" to the page head . fixed the display options for the heading links
1 parent 7d2e3d4 commit e6649f4

File tree

6 files changed

+243
-66
lines changed

6 files changed

+243
-66
lines changed

roundup/templates/extended/dbinit.py

Lines changed: 13 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# $Id: dbinit.py,v 1.7 2001-07-29 07:01:39 richard Exp $
1+
# $Id: dbinit.py,v 1.8 2001-07-30 01:26:59 richard Exp $
22

33
import os
44

@@ -78,13 +78,18 @@ def open(name=None):
7878
date=Date(), time=String(),
7979
performedby=Link("user"), description=String())
8080

81+
support = IssueClass(db, "support",
82+
assignedto=Link("user"), status=Link("status"),
83+
rate=Link("rate"), source=Link("source"),
84+
product=Link("product"), platform=Multilink("platform"),
85+
version=String(), timelog=Multilink("timelog"),
86+
customername=String())
87+
8188
issue = IssueClass(db, "issue",
8289
assignedto=Link("user"), priority=Link("priority"),
83-
status=Link("status"), rate=Link("rate"),
84-
source=Link("source"), product=Link("product"),
90+
status=Link("status"), product=Link("product"),
8591
platform=Multilink("platform"), version=String(),
86-
timelog=Multilink("timelog"), customername=String())
87-
issue.setkey('title')
92+
supportcall=Multilink("support"))
8893

8994
import detectors
9095
detectors.init(db)
@@ -109,7 +114,6 @@ def init(adminpw):
109114
pri.create(name="bug", order="2")
110115
pri.create(name="usability", order="3")
111116
pri.create(name="feature", order="4")
112-
pri.create(name="support", order="5")
113117

114118
stat = db.getclass('status')
115119
stat.create(name="unread", order="1")
@@ -151,6 +155,9 @@ def init(adminpw):
151155

152156
#
153157
# $Log: not supported by cvs2svn $
158+
# Revision 1.7 2001/07/29 07:01:39 richard
159+
# Added vim command to all source so that we don't get no steenkin' tabs :)
160+
#
154161
# Revision 1.6 2001/07/25 01:23:07 richard
155162
# Added the Roundup spec to the new documentation directory.
156163
#

roundup/templates/extended/html/issue.filter

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<!-- $Id: issue.filter,v 1.1 2001-07-23 04:21:20 richard Exp $-->
1+
<!-- $Id: issue.filter,v 1.2 2001-07-30 01:26:59 richard Exp $-->
22
<property name="title">
33
<tr><th width="1%" align="right" class="location-bar">Title</th>
44
<td><display call="field('title')"></td></tr>
@@ -23,15 +23,7 @@
2323
<tr><th width="1%" align="right" class="location-bar">Version</th>
2424
<td><display call="field('version')"></td></tr>
2525
</property>
26-
<property name="source">
27-
<tr><th width="1%" align="right" class="location-bar">Source</th>
28-
<td><display call="checklist('source')"></td></tr>
29-
</property>
3026
<property name="assignedto">
3127
<tr><th width="1%" align="right" class="location-bar">Assigned&nbsp;to</th>
3228
<td><display call="checklist('assignedto')"></td></tr>
3329
</property>
34-
<property name="customername">
35-
<tr><th width="1%" align="right" class="location-bar">Customer&nbsp;name</th>
36-
<td><display call="field('customername')"></td></tr>
37-
</property>

roundup/templates/extended/html/issue.index

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
1-
<!-- $Id: issue.index,v 1.1 2001-07-23 04:21:20 richard Exp $-->
1+
<!-- $Id: issue.index,v 1.2 2001-07-30 01:26:59 richard Exp $-->
22
<tr>
3+
<property name="id">
4+
<td valign="top"><display call="field('id')"></td>
5+
</property>
36
<property name="activity">
47
<td valign="top"><display call="reldate('activity', pretty=1)"></td>
58
</property>
@@ -21,13 +24,7 @@
2124
<property name="version">
2225
<td valign="top"><display call="plain('version')"></td>
2326
</property>
24-
<property name="source">
25-
<td valign="top"><display call="plain('source')"></td>
26-
</property>
2727
<property name="assignedto">
2828
<td valign="top"><display call="plain('assignedto')"></td>
2929
</property>
30-
<property name="customername">
31-
<td valign="top"><display call="plain('customername')"></td>
32-
</property>
3330
</tr>

roundup/templates/extended/html/issue.item

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<!-- $Id: issue.item,v 1.1 2001-07-23 04:21:20 richard Exp $-->
1+
<!-- $Id: issue.item,v 1.2 2001-07-30 01:26:59 richard Exp $-->
22
<table border=0 cellspacing=0 cellpadding=2>
33

44
<tr class="strong-header">
@@ -29,22 +29,15 @@
2929
<tr bgcolor="ffffea">
3030
<td width=1% nowrap align=right><span class="form-label">Priority</span></td>
3131
<td class="form-text"><display call="field('priority')"></td>
32-
<td width=1% nowrap align=right><span class="form-label">Source</span></td>
33-
<td class="form-text"><display call="field('source')"></td>
34-
</tr>
35-
36-
<tr bgcolor="ffffea">
3732
<td width=1% nowrap align=right><span class="form-label">Status</span></td>
3833
<td class="form-text"><display call="menu('status')"></td>
39-
<td width=1% nowrap align=right><span class="form-label">Rate</span></td>
40-
<td class="form-text"><display call="field('rate')"></td>
4134
</tr>
4235

4336
<tr bgcolor="ffffea">
4437
<td width=1% nowrap align=right><span class="form-label">Assigned To</span></td>
4538
<td class="form-text"><display call="field('assignedto')"></td>
46-
<td width=1% nowrap align=right><span class="form-label">Customer Name</span></td>
47-
<td class="form-text"><display call="field('customername')"></td>
39+
<td width=1% nowrap align=right><span class="form-label">Empty</span></td>
40+
<td class="form-text">XXXX</td>
4841
</tr>
4942

5043
<tr bgcolor="ffffea">

0 commit comments

Comments
 (0)