Skip to content

Commit

Permalink
Remove unnecessary tooltips from my view page
Browse files Browse the repository at this point in the history
Fixes #21112
  • Loading branch information
syncguru authored and dregad committed Aug 14, 2016
1 parent 75872a1 commit 4d8ce6f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
4 changes: 0 additions & 4 deletions core/string_api.php
Expand Up @@ -649,11 +649,7 @@ function string_get_bug_view_link( $p_bug_id, $p_detail_info = true, $p_fqdn = f
}
$t_link .= string_get_bug_view_url( $p_bug_id ) . '"';
if( $p_detail_info ) {
$t_summary = string_attribute( bug_get_field( $p_bug_id, 'summary' ) );
$t_project_id = bug_get_field( $p_bug_id, 'project_id' );
$t_status = string_attribute( get_enum_element( 'status', bug_get_field( $p_bug_id, 'status' ), $t_project_id ) );
$t_link .= ' title="[' . $t_status . '] ' . $t_summary . '"';

$t_resolved = bug_get_field( $p_bug_id, 'status' ) >= config_get( 'bug_resolved_status_threshold', null, null, $t_project_id );
if( $t_resolved ) {
$t_link .= ' class="resolved"';
Expand Down
3 changes: 1 addition & 2 deletions my_view_inc.php
Expand Up @@ -397,8 +397,7 @@
echo '<span>[', string_display_line( project_get_name( $t_bug->project_id ) ), '] </span>';
}
$t_bug_url = string_get_bug_view_url( $t_bug->id );
$t_bug_url_title = string_html_specialchars( sprintf( lang_get( 'label' ), lang_get( 'issue_id' ) . $t_bug->id ) . lang_get( 'word_separator' ) . $t_bug->summary );
echo '<span><a href="' . $t_bug_url . '" title="' . $t_bug_url_title . '">' . $t_summary . '</a></span><br />';
echo '<span><a href="' . $t_bug_url . '">' . $t_summary . '</a></span><br />';
?>
<?php
# type project name if viewing 'all projects' or bug is in subproject
Expand Down

0 comments on commit 4d8ce6f

Please sign in to comment.