Commit 73dabcb35797480075ae872218bfdbd100e48e63

Authored by Riyad Preukschas
1 parent cbce4528

Update links to issues

app/assets/stylesheets/sections/issues.scss
@@ -34,7 +34,7 @@ @@ -34,7 +34,7 @@
34 width:32px; 34 width:32px;
35 margin-top:4px; 35 margin-top:4px;
36 } 36 }
37 - p.row_title { 37 + .row_title {
38 padding:0px; 38 padding:0px;
39 padding-bottom:2px; 39 padding-bottom:2px;
40 } 40 }
app/views/issues/_show.html.haml
@@ -24,8 +24,7 @@ @@ -24,8 +24,7 @@
24 - else 24 - else
25 = image_tag "no_avatar.png", :class => "avatar" 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 %span.update-author 29 %span.update-author
31 %small.cdark= "##{issue.id}" 30 %small.cdark= "##{issue.id}"
app/views/milestones/show.html.haml
@@ -50,8 +50,8 @@ @@ -50,8 +50,8 @@
50 %td 50 %td
51 = link_to [@project, issue] do 51 = link_to [@project, issue] do
52 %span.badge.badge-info ##{issue.id} 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 %br 55 %br
56 = paginate @issues, :theme => "gitlab" 56 = paginate @issues, :theme => "gitlab"
57 57