Skip to content

Commit

Permalink
Improve the style of the time tracking data in issue details page
Browse files Browse the repository at this point in the history
  • Loading branch information
syncguru committed Feb 5, 2015
1 parent a38d47e commit 7c7f816
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions bugnote_view_inc.php
Original file line number Diff line number Diff line change
Expand Up @@ -295,7 +295,8 @@

case TIME_TRACKING:
if( $t_show_time_tracking ) {
echo '<div class="time-tracked">', lang_get( 'time_tracking_time_spent' ) . ' ' . $t_time_tracking_hhmm, '</div>';
echo '<div class="time-tracked label label-grey label-sm">', lang_get( 'time_tracking_time_spent' ) . ' ' . $t_time_tracking_hhmm, '</div>';
echo '<div class="clearfix"></div>';
}
break;
}
Expand All @@ -318,10 +319,11 @@
</div>
</div>
</div>
</div>

<?php

if( $t_total_time > 0 && $t_show_time_tracking ) {
echo '<p class="time-tracking-total">', sprintf( lang_get( 'total_time_for_issue' ), '<span class="time-tracked">' . db_minutes_to_hhmm( $t_total_time ) . '</span>' ), '</p>';
echo '<div class="time-tracking-total pull-right"><i class="ace-icon fa fa-clock-o bigger-110 red"></i> ', sprintf( lang_get( 'total_time_for_issue' ), '<span class="time-tracked">' . db_minutes_to_hhmm( $t_total_time ) . '</span>' ), '</div>';
}
?>
</div>

0 comments on commit 7c7f816

Please sign in to comment.