Fossil SCM

Nomenclature chanage: "bug report" becomes "ticket"

drh 2009-01-23 01:01 trunk
Commit cf9ee7d67e086669d4a548c802eecc764c9f42d2
+6 -6
--- src/report.c
+++ src/report.c
@@ -20,11 +20,11 @@
2020
** [email protected]
2121
** http://www.hwaci.com/drh/
2222
**
2323
*******************************************************************************
2424
**
25
-** Code to generate the bug report listings
25
+** Code to generate the ticket listings
2626
*/
2727
#include "config.h"
2828
#include "report.h"
2929
#include <assert.h>
3030
@@ -39,19 +39,19 @@
3939
int rn = 0;
4040
int cnt = 0;
4141
4242
login_check_credentials();
4343
if( !g.okRdTkt && !g.okNewTkt ){ login_needed(); return; }
44
- style_header("Bug Report Main Menu");
44
+ style_header("Ticket Main Menu");
4545
if( g.okNewTkt ){
46
- @ <p>Enter a new bug report:</p>
47
- @ <ol><li value="1"><a href="tktnew">New bug report</a></li></ol>
46
+ @ <p>Enter a new ticket:</p>
47
+ @ <ol><li value="1"><a href="tktnew">New ticket</a></li></ol>
4848
@
4949
cnt++;
5050
}
5151
if( !g.okRdTkt ){
52
- @ <p>You are not authorized to view existing bug reports.</p>
52
+ @ <p>You are not authorized to view existing tickets.</p>
5353
}else{
5454
db_prepare(&q, "SELECT rn, title, owner FROM reportfmt ORDER BY title");
5555
@ <p>Choose a report format from the following list:</p>
5656
@ <ol>
5757
while( db_step(&q)==SQLITE_ROW ){
@@ -76,11 +76,11 @@
7676
@ </li>
7777
}
7878
}
7979
@ </ol>
8080
if( g.okTktFmt ){
81
- @ <p>Create a new bug report display format:</p>
81
+ @ <p>Create a new ticket display format:</p>
8282
@ <ol>
8383
@ <li value="%d(cnt+1)"><a href="rptnew">New report format</a></li>
8484
@ </ol>
8585
}
8686
style_footer();
8787
--- src/report.c
+++ src/report.c
@@ -20,11 +20,11 @@
20 ** [email protected]
21 ** http://www.hwaci.com/drh/
22 **
23 *******************************************************************************
24 **
25 ** Code to generate the bug report listings
26 */
27 #include "config.h"
28 #include "report.h"
29 #include <assert.h>
30
@@ -39,19 +39,19 @@
39 int rn = 0;
40 int cnt = 0;
41
42 login_check_credentials();
43 if( !g.okRdTkt && !g.okNewTkt ){ login_needed(); return; }
44 style_header("Bug Report Main Menu");
45 if( g.okNewTkt ){
46 @ <p>Enter a new bug report:</p>
47 @ <ol><li value="1"><a href="tktnew">New bug report</a></li></ol>
48 @
49 cnt++;
50 }
51 if( !g.okRdTkt ){
52 @ <p>You are not authorized to view existing bug reports.</p>
53 }else{
54 db_prepare(&q, "SELECT rn, title, owner FROM reportfmt ORDER BY title");
55 @ <p>Choose a report format from the following list:</p>
56 @ <ol>
57 while( db_step(&q)==SQLITE_ROW ){
@@ -76,11 +76,11 @@
76 @ </li>
77 }
78 }
79 @ </ol>
80 if( g.okTktFmt ){
81 @ <p>Create a new bug report display format:</p>
82 @ <ol>
83 @ <li value="%d(cnt+1)"><a href="rptnew">New report format</a></li>
84 @ </ol>
85 }
86 style_footer();
87
--- src/report.c
+++ src/report.c
@@ -20,11 +20,11 @@
20 ** [email protected]
21 ** http://www.hwaci.com/drh/
22 **
23 *******************************************************************************
24 **
25 ** Code to generate the ticket listings
26 */
27 #include "config.h"
28 #include "report.h"
29 #include <assert.h>
30
@@ -39,19 +39,19 @@
39 int rn = 0;
40 int cnt = 0;
41
42 login_check_credentials();
43 if( !g.okRdTkt && !g.okNewTkt ){ login_needed(); return; }
44 style_header("Ticket Main Menu");
45 if( g.okNewTkt ){
46 @ <p>Enter a new ticket:</p>
47 @ <ol><li value="1"><a href="tktnew">New ticket</a></li></ol>
48 @
49 cnt++;
50 }
51 if( !g.okRdTkt ){
52 @ <p>You are not authorized to view existing tickets.</p>
53 }else{
54 db_prepare(&q, "SELECT rn, title, owner FROM reportfmt ORDER BY title");
55 @ <p>Choose a report format from the following list:</p>
56 @ <ol>
57 while( db_step(&q)==SQLITE_ROW ){
@@ -76,11 +76,11 @@
76 @ </li>
77 }
78 }
79 @ </ol>
80 if( g.okTktFmt ){
81 @ <p>Create a new ticket display format:</p>
82 @ <ol>
83 @ <li value="%d(cnt+1)"><a href="rptnew">New report format</a></li>
84 @ </ol>
85 }
86 style_footer();
87
+1 -1
--- src/style.c
+++ src/style.c
@@ -197,11 +197,11 @@
197197
@ html "<a href='$baseurl/timeline'>Timeline</a>"
198198
@ html "<a href='$baseurl/brlist'>Branches</a>"
199199
@ html "<a href='$baseurl/taglist'>Tags</a>"
200200
@ }
201201
@ if {[hascap r]} {
202
-@ html "<a href='$baseurl/reportlist'>Bugs</a>"
202
+@ html "<a href='$baseurl/reportlist'>Tickets</a>"
203203
@ }
204204
@ if {[hascap j]} {
205205
@ html "<a href='$baseurl/wiki'>Wiki</a>"
206206
@ }
207207
@ if {[hascap s]} {
208208
--- src/style.c
+++ src/style.c
@@ -197,11 +197,11 @@
197 @ html "<a href='$baseurl/timeline'>Timeline</a>"
198 @ html "<a href='$baseurl/brlist'>Branches</a>"
199 @ html "<a href='$baseurl/taglist'>Tags</a>"
200 @ }
201 @ if {[hascap r]} {
202 @ html "<a href='$baseurl/reportlist'>Bugs</a>"
203 @ }
204 @ if {[hascap j]} {
205 @ html "<a href='$baseurl/wiki'>Wiki</a>"
206 @ }
207 @ if {[hascap s]} {
208
--- src/style.c
+++ src/style.c
@@ -197,11 +197,11 @@
197 @ html "<a href='$baseurl/timeline'>Timeline</a>"
198 @ html "<a href='$baseurl/brlist'>Branches</a>"
199 @ html "<a href='$baseurl/taglist'>Tags</a>"
200 @ }
201 @ if {[hascap r]} {
202 @ html "<a href='$baseurl/reportlist'>Tickets</a>"
203 @ }
204 @ if {[hascap j]} {
205 @ html "<a href='$baseurl/wiki'>Wiki</a>"
206 @ }
207 @ if {[hascap s]} {
208
+2 -2
--- src/tktsetup.c
+++ src/tktsetup.c
@@ -254,11 +254,11 @@
254254
@ if {[info exists submit]} {
255255
@ set status Open
256256
@ submit_ticket
257257
@ }
258258
@ </th1>
259
-@ <h1 align="center">Enter A New Bug Report</h1>
259
+@ <h1 align="center">Enter A New Ticket</h1>
260260
@ <table cellpadding="5">
261261
@ <tr>
262262
@ <td colspan="2">
263263
@ Enter a one-line summary of the problem:<br>
264264
@ <input type="text" name="title" size="60" value="$<title>">
@@ -325,11 +325,11 @@
325325
@ </tr>
326326
@ <tr>
327327
@ <td align="right">
328328
@ <input type="submit" name="cancel" value="Cancel">
329329
@ </td>
330
-@ <td>Abandon and forget this bug report</td>
330
+@ <td>Abandon and forget this ticket</td>
331331
@ </tr>
332332
@ </table>
333333
;
334334
335335
/*
336336
--- src/tktsetup.c
+++ src/tktsetup.c
@@ -254,11 +254,11 @@
254 @ if {[info exists submit]} {
255 @ set status Open
256 @ submit_ticket
257 @ }
258 @ </th1>
259 @ <h1 align="center">Enter A New Bug Report</h1>
260 @ <table cellpadding="5">
261 @ <tr>
262 @ <td colspan="2">
263 @ Enter a one-line summary of the problem:<br>
264 @ <input type="text" name="title" size="60" value="$<title>">
@@ -325,11 +325,11 @@
325 @ </tr>
326 @ <tr>
327 @ <td align="right">
328 @ <input type="submit" name="cancel" value="Cancel">
329 @ </td>
330 @ <td>Abandon and forget this bug report</td>
331 @ </tr>
332 @ </table>
333 ;
334
335 /*
336
--- src/tktsetup.c
+++ src/tktsetup.c
@@ -254,11 +254,11 @@
254 @ if {[info exists submit]} {
255 @ set status Open
256 @ submit_ticket
257 @ }
258 @ </th1>
259 @ <h1 align="center">Enter A New Ticket</h1>
260 @ <table cellpadding="5">
261 @ <tr>
262 @ <td colspan="2">
263 @ Enter a one-line summary of the problem:<br>
264 @ <input type="text" name="title" size="60" value="$<title>">
@@ -325,11 +325,11 @@
325 @ </tr>
326 @ <tr>
327 @ <td align="right">
328 @ <input type="submit" name="cancel" value="Cancel">
329 @ </td>
330 @ <td>Abandon and forget this ticket</td>
331 @ </tr>
332 @ </table>
333 ;
334
335 /*
336

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button