Skip to content

Commit

Permalink
Fix #7952: Add a label next to time spent in bug notes
Browse files Browse the repository at this point in the history
Also reduced the font size back to normal, because with the added label the
large font put too much emphasis on the time spent vs the bugnote text.
  • Loading branch information
dregad committed Jul 15, 2011
1 parent 4902bc8 commit c50db06
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion bugnote_view_inc.php
Expand Up @@ -249,7 +249,7 @@
break;
case TIME_TRACKING:
if ( access_has_bug_level( config_get( 'time_tracking_view_threshold' ), $f_bug_id ) ) {
echo '<div class="time-tracked">', $t_time_tracking_hhmm, '</div>';
echo '<div class="time-tracked">', lang_get( 'time_tracking_time_spent') . ' ' . $t_time_tracking_hhmm, '</div>';
}
break;
}
Expand Down
2 changes: 1 addition & 1 deletion css/default.css
Expand Up @@ -85,7 +85,7 @@ tr.print-category { color: #000000; font-weight: bold; }
tr.bugnote .bugnote-meta { background-color: #c8c8e8; color: #000000; font-weight: bold; width: 25%; line-height: 1.4; vertical-align: top; }
tr.bugnote .bugnote-note { background-color: #e8e8e8; color: #000000; width: 75%; vertical-align: top; }
tr.bugnote .time-tracked,
.time-tracking-total .time-tracked { font-size: larger; font-weight:bold; margin: 0 0 1em; padding:0; }
.time-tracking-total .time-tracked { font-weight:bold; margin: 0 0 1em; padding:0; }
.time-tracking-total { text-align:right; }

#login-info { clear: both; position: relative; display: block; float: left; padding: .5em 0; z-index: 100; line-height: 1em; }
Expand Down
1 change: 1 addition & 0 deletions lang/strings_english.txt
Expand Up @@ -1424,6 +1424,7 @@ If you requested this verification, visit the following URL to change your passw
# Time Tracking
'time_tracking_billing_link' => 'Time Tracking',
'time_tracking' => 'Time tracking',
'time_tracking_time_spent' => 'Time spent:',
'time_tracking_get_info_button' => 'Get Time Tracking Information',
'time_tracking_cost_per_hour' => 'Cost / Hour',
'time_tracking_cost_per_hour_label' => 'Cost / Hour:',
Expand Down

0 comments on commit c50db06

Please sign in to comment.