View Issue Details

IDProjectCategoryView StatusLast Update
0003715mantisbtfeaturepublic2009-06-13 04:36
Reportertbalazs Assigned To 
PrioritynormalSeverityfeatureReproducibilityalways
Status newResolutionopen 
Summary0003715: Row highlighting in view_all_inc.php
Description

This is an eye-candy.
If you attach this patch to the view_all_inc.php
the row under the mouse cursor will be highlighted.
Wherever you click on the row (except the links) the
browser goes to the bugreport.

Tagspatch
Attached Files
highlight.patch (882 bytes)   
--- view_all_inc.php.old	2004-02-05 02:34:38.000000000 +0100
+++ view_all_inc.php	2004-04-02 13:07:27.376020985 +0200
@@ -181,7 +181,14 @@
 			$v_bugnote_updated = bug_get_newest_bugnote_timestamp( $v_id );
 		}
 ?>
-<tr bgcolor="<?php echo $status_color ?>">
+<tr bgcolor="<?php echo $status_color ?>" onMouseOver="this.bgColor='<?php if ($g_bug_view_highlight_color != "")
+                                                                            {
+																			  echo $g_bug_view_highlight_color;
+																			} else {
+																			  echo "#f8d850";
+																			} ?>'"
+										 onMouseOut="this.bgColor='<?php echo $status_color ?>'"
+										 onClick="window.location='<?php echo string_get_bug_view_url( $v_id ); ?>'">
 	<?php # -- Checkbox -- ?>
 <?php
 	if ( access_has_bug_level( config_get( 'update_bug_threshold' ), $v_id ) ) {
highlight.patch (882 bytes)   

Activities

hacker

hacker

2004-04-03 08:16

reporter   ~0005332

It would be nice if this didn't use existing highlight colors. If you highlight a bug marked as feedback, the highlight is "invisible".

A better option would be to select one or two HTML shades "lighter" than the existing colors, and use those as the highlight colors.

tbalazs

tbalazs

2004-04-04 13:13

reporter   ~0005340

With the $g_bugview_highlight_color variable you can modify the highlight color.
The row-depend highlight is difficult with this mantis architecture, but I will try...

siebrand

siebrand

2009-06-13 04:36

reporter   ~0022142

Set back to new. No activity for almost 2 years while assigned.