Commit 73dabcb35797480075ae872218bfdbd100e48e63
1 parent
cbce4528
Exists in
master
and in
4 other branches
Update links to issues
Showing
3 changed files
with
4 additions
and
5 deletions
Show diff stats
app/assets/stylesheets/sections/issues.scss
app/views/issues/_show.html.haml
| ... | ... | @@ -24,8 +24,7 @@ |
| 24 | 24 | - else |
| 25 | 25 | = image_tag "no_avatar.png", :class => "avatar" |
| 26 | 26 | |
| 27 | - = link_to project_issue_path(issue.project, issue) do | |
| 28 | - %p.row_title= truncate(issue.title, :length => 100) | |
| 27 | + %p= link_to truncate(issue.title, :length => 100), project_issue_path(issue.project, issue), :class => "row_title" | |
| 29 | 28 | |
| 30 | 29 | %span.update-author |
| 31 | 30 | %small.cdark= "##{issue.id}" | ... | ... |
app/views/milestones/show.html.haml
| ... | ... | @@ -50,8 +50,8 @@ |
| 50 | 50 | %td |
| 51 | 51 | = link_to [@project, issue] do |
| 52 | 52 | %span.badge.badge-info ##{issue.id} |
| 53 | - – | |
| 54 | - = truncate issue.title, :length => 60 | |
| 53 | + – | |
| 54 | + = link_to truncate(issue.title, :length => 60), [@project, issue] | |
| 55 | 55 | %br |
| 56 | 56 | = paginate @issues, :theme => "gitlab" |
| 57 | 57 | ... | ... |