Skip to content

Commit

Permalink
Fix 7548: Status is underlined using a deprecated HTML element.
Browse files Browse the repository at this point in the history
git-svn-id: http://mantisbt.svn.sourceforge.net/svnroot/mantisbt/trunk@4455 f5dc347c-c33d-0410-90a0-b07cc1902cb9
  • Loading branch information
giallu committed Jul 18, 2007
1 parent c1b60ba commit c3715d9
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 7 deletions.
6 changes: 3 additions & 3 deletions account_sponsor_page.php
Expand Up @@ -6,7 +6,7 @@
# See the README and LICENSE files for details

# --------------------------------------------------------
# $Id: account_sponsor_page.php,v 1.4 2005-07-23 15:09:51 thraxisp Exp $
# $Id: account_sponsor_page.php,v 1.5 2007-07-18 22:55:23 giallu Exp $
# --------------------------------------------------------

# CALLERS
Expand Down Expand Up @@ -128,7 +128,7 @@
echo '<td><a href="' . string_get_bug_view_url( $row['bug'] ) . '">' . bug_format_id( $row['bug'] ) . '</a></td>';
echo '<td>' . project_get_field( $t_bug->project_id, 'name' ) . '&nbsp;</td>';
echo '<td class="right">' . $t_released_label . '&nbsp;</td>';
echo '<td><a title="' . $t_resolution . '"><u>' . $t_status . '</u>&nbsp;</a></td>';
echo '<td><span class="issue-status" title="' . $t_resolution . '">' . $t_status . '</span></td>';
echo '<td>';
print_user( $t_bug->handler_id );
echo '</td>';
Expand Down Expand Up @@ -297,4 +297,4 @@
?>
</div>

<?php html_page_bottom1( __FILE__ ) ?>
<?php html_page_bottom1( __FILE__ ) ?>
4 changes: 2 additions & 2 deletions core/columns_api.php
Expand Up @@ -6,7 +6,7 @@
# See the README and LICENSE files for details

# --------------------------------------------------------
# $Id: columns_api.php,v 1.19 2007-07-10 07:15:05 vboctor Exp $
# $Id: columns_api.php,v 1.20 2007-07-18 22:55:24 giallu Exp $
# --------------------------------------------------------
?>
<?php
Expand Down Expand Up @@ -556,7 +556,7 @@ function print_column_resolution( $p_row, $p_columns_target = COLUMNS_TARGET_VIE
# $p_columns_target: see COLUMNS_TARGET_* in constant_inc.php
function print_column_status( $p_row, $p_columns_target = COLUMNS_TARGET_VIEW_PAGE ) {
echo '<td class="center">';
printf( '<u><a title="%s">%s</a></u>'
printf( '<span class="issue-status" title="%s">%s</span>'
, get_enum_element( 'resolution', $p_row['resolution'] )
, get_enum_element( 'status', $p_row['status'] )
);
Expand Down
4 changes: 2 additions & 2 deletions core/relationship_api.php
Expand Up @@ -6,7 +6,7 @@
# See the README and LICENSE files for details

# --------------------------------------------------------
# $Id: relationship_api.php,v 1.42 2007-07-11 21:13:25 giallu Exp $
# $Id: relationship_api.php,v 1.43 2007-07-18 22:55:24 giallu Exp $
# --------------------------------------------------------

### Relationship API ###
Expand Down Expand Up @@ -543,7 +543,7 @@ function relationship_get_details( $p_bug_id, $p_relationship, $p_html = false,
$t_relationship_info_html = $t_td . string_no_break( $t_relationship_descr ) . '&nbsp;</td>';
if ( $p_html_preview == false ) {
$t_relationship_info_html .= '<td><a href="' . string_get_bug_view_url( $t_related_bug_id ) . '">' . bug_format_id( $t_related_bug_id ) . '</a></td>';
$t_relationship_info_html .= '<td><a title="' . $t_resolution . '"><u>' . $t_status . '</u>&nbsp;</a></td>';
$t_relationship_info_html .= '<td><span class="issue-status" title="' . $t_resolution . '">' . $t_status . '</span></td>';
}
else {
$t_relationship_info_html .= $t_td . bug_format_id( $t_related_bug_id ) . '</td>';
Expand Down
5 changes: 5 additions & 0 deletions css/default.css
Expand Up @@ -122,5 +122,10 @@ div.quick-summary-right { width: 49%; padding: 2px; text-align: right; float: ri
color: red;
}

.issue-status
{
border-bottom: 1px dotted black;
}

.progress400 { position: relative; width: 400px; border: 1px solid #d7d7d7; margin-top: 1em; margin-bottom: 1em; padding: 1px; }
.progress400 .bar { display: block; position: relative; background: #6bba70; text-align: center; font-weight: normal; color: #333; height: 2em; line-height: 2em; }

0 comments on commit c3715d9

Please sign in to comment.