View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0004317 | mantisbt | bugtracker | public | 2004-08-12 03:11 | 2004-08-29 01:45 |
Reporter | tandler | Assigned To | bpfennig | ||
Priority | normal | Severity | feature | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Product Version | 0.18.2 | ||||
Fixed in Version | 0.19.0rc1 | ||||
Summary | 0004317: "Report stay" should print out the submitted bug number together with the "report more bugs" | ||||
Description | When testing it would be helpful if the submitted bug number is also displayed in the "report stay" mode. It is already shown in the "single bug" mode, anyway. This is helpful, if the bug numbers must be recorded in the test protocols. | ||||
Tags | No tags attached. | ||||
Attached Files | patch_0004317.txt (1,582 bytes)
Index: bug_report.php =================================================================== RCS file: /cvsroot/mantisbt/mantisbt/bug_report.php,v retrieving revision 1.34 diff -u -r1.34 bug_report.php --- bug_report.php 4 Aug 2004 15:02:22 -0000 1.34 +++ bug_report.php 16 Aug 2004 19:07:35 -0000 @@ -140,6 +140,9 @@ echo lang_get( 'operation_successful' ) . '<br />'; if ( $f_report_stay ) { + echo '<p>'; + print_bracket_link( string_get_bug_view_url( $t_bug_id ), lang_get( 'view_submitted_bug_link' ) . " $t_bug_id", true ); + echo '</p>'; ?> <form method="post" action="<?php echo string_get_bug_report_url() ?>"> <input type="hidden" name="category" value="<?php echo $f_category ?>" /> Index: print_api.php =================================================================== RCS file: /cvsroot/mantisbt/mantisbt/core/print_api.php,v retrieving revision 1.97 diff -u -r1.97 print_api.php --- print_api.php 14 Aug 2004 15:26:21 -0000 1.97 +++ print_api.php 16 Aug 2004 19:09:40 -0000 @@ -954,9 +954,11 @@ # -------------------- # print the bracketed links used near the top # if the $p_link is blank then the text is printed but no link is created - function print_bracket_link( $p_link, $p_url_text ) { + function print_bracket_link( $p_link, $p_url_text, $p_new_window = false ) { if (is_blank( $p_link )) { PRINT "[ $p_url_text ]"; + } else if( true == $p_new_window ) { + PRINT "[ <a href=\"$p_link\" target=\"_blank\">$p_url_text</a> ]"; } else { PRINT "[ <a href=\"$p_link\">$p_url_text</a> ]"; } | ||||
MantisBT: master 673887df 2004-08-21 09:27 Paul Richards Details Diff |
Fix 4317 based on Bastian Pfennigschmidt patch git-svn-id: http://mantisbt.svn.sourceforge.net/svnroot/mantisbt/trunk@2877 <a class="text" href="/?p=mantisbt.git;a=object;h=f5dc347c">f5dc347c</a>-c33d-0410-90a0-b07cc1902cb9 |
Affected Issues 0004317 |
|
mod - bug_report.php | Diff File |