diff options
author | Oswaldo Ferreira <oswaldo@gitlab.com> | 2017-01-12 15:28:37 +0300 |
---|---|---|
committer | Oswaldo Ferreira <oswaldo@gitlab.com> | 2017-01-28 01:20:19 +0300 |
commit | 78b0106878fa1b2e2062e2c4ebb0a63375825879 (patch) | |
tree | 8919e8f5d4707aff5fffceb011c8c58e8c5fafe7 /app/views/projects/issues/_issue.html.haml | |
parent | 0e14a2f21dbfe20c980562dd47ab9878c023eac2 (diff) |
Move issuable reference display to a helper method
Diffstat (limited to 'app/views/projects/issues/_issue.html.haml')
-rw-r--r-- | app/views/projects/issues/_issue.html.haml | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/app/views/projects/issues/_issue.html.haml b/app/views/projects/issues/_issue.html.haml index 6173d9e21f6..f3be343daae 100644 --- a/app/views/projects/issues/_issue.html.haml +++ b/app/views/projects/issues/_issue.html.haml @@ -34,8 +34,7 @@ = note_count .issue-info - = @show_full_reference ? issue.to_reference(full: true) : issue.to_reference(@group || @project) - · + #{issuable_reference(issue)} · opened #{time_ago_with_tooltip(issue.created_at, placement: 'bottom')} by #{link_to_member(@project, issue.author, avatar: false)} - if issue.milestone |