Fossil SCM
Added the 'New Ticket' link to the ticket report view
Commit
f3df06b09ffa70be0e7ec23375f11b371a551ffc
Parent
0c305be6c1c2323…
1 file changed
+4
+4
| --- src/report.c | ||
| +++ src/report.c | ||
| @@ -922,10 +922,14 @@ | ||
| 922 | 922 | style_submenu_element("Edit", "Edit", "rptedit?rn=%d", rn); |
| 923 | 923 | } |
| 924 | 924 | if( g.okTktFmt ){ |
| 925 | 925 | style_submenu_element("SQL", "SQL", "rptsql?rn=%d",rn); |
| 926 | 926 | } |
| 927 | + if( g.okNewTkt ){ | |
| 928 | + style_submenu_element("New Ticket", "Create a new ticket", | |
| 929 | + "%s/tktnew", g.zTop); | |
| 930 | + } | |
| 927 | 931 | style_header(zTitle); |
| 928 | 932 | output_color_key(zClrKey, 1, |
| 929 | 933 | "border=0 cellpadding=3 cellspacing=0 class=\"report\""); |
| 930 | 934 | @ <table border=1 cellpadding=2 cellspacing=0 class="report"> |
| 931 | 935 | sState.rn = rn; |
| 932 | 936 |
| --- src/report.c | |
| +++ src/report.c | |
| @@ -922,10 +922,14 @@ | |
| 922 | style_submenu_element("Edit", "Edit", "rptedit?rn=%d", rn); |
| 923 | } |
| 924 | if( g.okTktFmt ){ |
| 925 | style_submenu_element("SQL", "SQL", "rptsql?rn=%d",rn); |
| 926 | } |
| 927 | style_header(zTitle); |
| 928 | output_color_key(zClrKey, 1, |
| 929 | "border=0 cellpadding=3 cellspacing=0 class=\"report\""); |
| 930 | @ <table border=1 cellpadding=2 cellspacing=0 class="report"> |
| 931 | sState.rn = rn; |
| 932 |
| --- src/report.c | |
| +++ src/report.c | |
| @@ -922,10 +922,14 @@ | |
| 922 | style_submenu_element("Edit", "Edit", "rptedit?rn=%d", rn); |
| 923 | } |
| 924 | if( g.okTktFmt ){ |
| 925 | style_submenu_element("SQL", "SQL", "rptsql?rn=%d",rn); |
| 926 | } |
| 927 | if( g.okNewTkt ){ |
| 928 | style_submenu_element("New Ticket", "Create a new ticket", |
| 929 | "%s/tktnew", g.zTop); |
| 930 | } |
| 931 | style_header(zTitle); |
| 932 | output_color_key(zClrKey, 1, |
| 933 | "border=0 cellpadding=3 cellspacing=0 class=\"report\""); |
| 934 | @ <table border=1 cellpadding=2 cellspacing=0 class="report"> |
| 935 | sState.rn = rn; |
| 936 |