From: <pri...@us...> - 2008-08-03 11:28:30
|
Revision: 5488 http://mantisbt.svn.sourceforge.net/mantisbt/?rev=5488&view=rev Author: prichards Date: 2008-08-03 11:28:27 +0000 (Sun, 03 Aug 2008) Log Message: ----------- partial commit of duedate_stage3_final3.diff Modified Paths: -------------- trunk/mantisbt/css/default.css trunk/mantisbt/print_all_bug_page_word.php Modified: trunk/mantisbt/css/default.css =================================================================== --- trunk/mantisbt/css/default.css 2008-08-03 11:25:20 UTC (rev 5487) +++ trunk/mantisbt/css/default.css 2008-08-03 11:28:27 UTC (rev 5488) @@ -62,6 +62,7 @@ td.small-caption { font-size: 8pt; } td.print { font-size: 8pt; text-align: left; padding: 2px; } td.print-category { font-size: 8pt; color: #000000; font-weight: bold; text-align: right; padding: 2px; } +td.print-overdue { font-size: 8pt; color: #000000; font-weight: bold; padding: 2px; } td.print-bottom { border-bottom: 1px solid #000000; } td.print-spacer { background-color: #ffffff; color: #000000; font-size: 1pt; line-height: 0.1; padding: 0px;} Modified: trunk/mantisbt/print_all_bug_page_word.php =================================================================== --- trunk/mantisbt/print_all_bug_page_word.php 2008-08-03 11:25:20 UTC (rev 5487) +++ trunk/mantisbt/print_all_bug_page_word.php 2008-08-03 11:28:27 UTC (rev 5488) @@ -185,7 +185,26 @@ <td class="print"> <?php echo $t_bug->platform ?> </td> +<?php if ( access_has_bug_level( config_get( 'due_date_view_threshold' ), $t_id ) ) { ?> + <td class="print-category"> + <?php echo lang_get( 'due_date' ) ?>: + </td> +<?php + if ( bug_is_overdue( $t_id ) ) { ?> + <td class="print-overdue"> +<?php + } else { ?> + <td class="print"> +<?php + } + if ( !date_is_null( $t_bug->due_date ) ) { + print_date( config_get( 'short_date_format' ), $t_bug->due_date ); + print "\t\t</td>\n"; + } + } else { +?> <td class="print" colspan="2"> </td> +<?php } ?> </tr> <tr class="print"> <td class="print-category"> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |