Skip to content

Commit

Permalink
Issue #11898: Hyperlink issue summaries on my_view_page
Browse files Browse the repository at this point in the history
It'd be nicer if issue summaries on my_view_page were hyperlinks to the
respective issue report. This increases the clickable area for users
making it easier to navigate to the requested destination issue.
  • Loading branch information
davidhicks committed May 9, 2010
1 parent 4c43473 commit b60c78f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion my_view_inc.php
Expand Up @@ -506,7 +506,9 @@
if( ON == config_get( 'show_bug_project_links' ) && helper_get_current_project() != $t_bug->project_id ) {
echo '<span class="small project">[', string_display_line( project_get_name( $t_bug->project_id ) ), '] </span>';
}
echo '<span class="small summary">', $t_summary, '<br /></span>';
$t_bug_url = string_get_bug_view_url( $t_bug->id, null );
$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 class=\"small summary\"><a href=\"$t_bug_url\" title=\"$t_bug_url_title\">$t_summary</a></span><br />";
?>
<?php
# type project name if viewing 'all projects' or bug is in subproject
Expand Down

0 comments on commit b60c78f

Please sign in to comment.