View Issue Details

IDProjectCategoryView StatusLast Update
0003276mantisbtfeaturepublic2025-10-26 14:05
Reporteraarjona Assigned Tobpfennig  
PrioritynormalSeverityfeatureReproducibilityalways
Status closedResolutionfixed 
Fixed in Version0.19.1 
Summary0003276: Add bugnote numbering and bugnote links.
Description
  • Add bugnote numbering to the view_bug_page so they can be referenced by people replying to them.
  • Also add anchors so they can be linked to directly.
  • Add a link to the last bugnote in a bug to save scrolling in the view_all_bugs page. This link should only appear if there's a significant number of bugnotes (10 or more).
TagsNo tags attached.

Activities

aarjona

aarjona

2003-08-22 08:07

reporter   ~0004557

fix checked in

also added the ability to link to a specific bugnote using a custom tag, like with buglinks. Check config_defaults_inc.php for details.

vboctor

vboctor

2003-08-22 14:02

manager   ~0004558

Ariel, I would like to release 0.18.0rc1 this weekend and I think this change needs a bit more thought / testing. Can you please undo the following changes and lets discuss them in IRC:

  • The # that appears before the bug numbers.
  • The bugnote numbers next to the bugnote.
  • The new configuration variable for the separator of the bugnote.
  • The introduced language string (I think you introduced one, right? -bugnote-)

Once you undo the change, please submit a separate feature request and attach your patch. This will help us reuse the code when we implement the feature.

thraxisp

thraxisp

2004-09-26 16:39

reporter   ~0007757

Last edited: 2004-09-26 16:40

The patch for this seems to have broken the formatting in Mozilla and Konqueror based browsers. The problem seems to be the lone <a> tag. I fixed it with the following patch:

Index: bugnote_view_inc.php

RCS file: /cvsroot/mantisbt/mantisbt/bugnote_view_inc.php,v
retrieving revision 1.19
diff -u -r1.19 bugnote_view_inc.php
--- bugnote_view_inc.php 21 Sep 2004 07:35:09 -0000 1.19
+++ bugnote_view_inc.php 26 Sep 2004 21:41:50 -0000
@@ -109,9 +109,8 @@
$t_bugnote_note_css = 'bugnote-note-public';
}
?>
-<tr class="bugnote">
+<tr class="bugnote" name="<?php echo $v3_id ?>" id="<?php echo $v3_id ?>">
<td class="<?php echo $t_bugnote_css ?>">

  • <a name="<?php echo $v3_id ?>" id="<?php echo $v3_id ?>" />
    <span class="small">(<?php echo $t_bugnote_id_formatted ?>)</span>

    <?php print_user( $v3_reporter_id ) ?>
    <?php if ( VS_PRIVATE == $v3_view_state ) { ?>

edited on: 09-26-04 16:40

bpfennig

bpfennig

2004-09-27 14:03

reporter   ~0007773

Fix checked in

Related Changesets

MantisBT: master edd1ed90

2003-08-22 01:53

beerfrick


Details Diff
Issue 0003276
Added:
* Bugnote numbering and linking
* bugnote link tag to combine with the bug link tag
* link to last bugnotes on view_all_bugs when bugnotes > 10

git-svn-id: http://mantisbt.svn.sourceforge.net/svnroot/mantisbt/trunk@2240 <a class="text" href="/?p=mantisbt.git;a=object;h=f5dc347c">f5dc347c</a>-c33d-0410-90a0-b07cc1902cb9
Affected Issues
0003276
mod - bug_view_page.php Diff File
mod - view_all_inc.php Diff File
mod - config_defaults_inc.php Diff File
mod - bugnote_add_inc.php Diff File
mod - bugnote_view_inc.php Diff File

MantisBT: master 8d623a9b

2003-08-22 02:00

beerfrick


Details Diff
Finishing last commit, for issue 0003276
CVS barfed... >:(

modified core/string_api.php the language files

git-svn-id: http://mantisbt.svn.sourceforge.net/svnroot/mantisbt/trunk@2241 <a class="text" href="/?p=mantisbt.git;a=object;h=f5dc347c">f5dc347c</a>-c33d-0410-90a0-b07cc1902cb9
Affected Issues
0003276
mod - lang/strings_romanian.txt Diff File
mod - lang/strings_latvian.txt Diff File
mod - lang/strings_korean.txt Diff File
mod - lang/strings_finnish.txt Diff File
mod - lang/strings_japanese_sjis.txt Diff File
mod - lang/strings_russian_koi8.txt Diff File
mod - lang/strings_japanese_euc.txt Diff File
mod - lang/strings_swedish.txt Diff File
mod - lang/strings_italian.txt Diff File
mod - lang/strings_croatian.txt Diff File
mod - lang/strings_portuguese_brazil.txt Diff File
mod - lang/strings_danish.txt Diff File
mod - lang/strings_spanish.txt Diff File
mod - lang/strings_french.txt Diff File
mod - lang/strings_russian.txt Diff File
mod - doc/ChangeLog Diff File
mod - lang/strings_turkish.txt Diff File
mod - lang/strings_chinese_simplified.txt Diff File
mod - lang/strings_german.txt Diff File
mod - lang/strings_czech.txt Diff File
mod - lang/strings_dutch.txt Diff File
mod - lang/strings_hungarian.txt Diff File
mod - core/string_api.php Diff File
mod - lang/strings_polish.txt Diff File
mod - lang/strings_portuguese_standard.txt Diff File
mod - lang/strings_english.txt Diff File
mod - lang/strings_norwegian.txt Diff File
mod - lang/strings_slovak.txt Diff File
mod - lang/strings_chinese_traditional.txt Diff File

MantisBT: master c72cccf4

2004-09-21 03:35

jlatour


Details Diff
- 0002091: [bugtracker] Bugnotes containing urls with the '@' sign in them get mangled (bpfennig)
- 0004326: [bugtracker] Links protected by brackets are not processed properly (bpfennig)
- 0003276: [feature] Add bugnote numbering and bugnote links. (bpfennig)
- 0004383: [localization] Editing a note has language specific note at end of note (bpfennig)

git-svn-id: http://mantisbt.svn.sourceforge.net/svnroot/mantisbt/trunk@2965 <a class="text" href="/?p=mantisbt.git;a=object;h=f5dc347c">f5dc347c</a>-c33d-0410-90a0-b07cc1902cb9
Affected Issues
0002091, 0003276, 0004326, 0004383
add - core/class.urlmatch.php Diff File
mod - core/string_api.php Diff File
mod - bugnote_view_inc.php Diff File
mod - config_defaults_inc.php Diff File
mod - doc/ChangeLog Diff File
mod - bugnote_update.php Diff File