diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-02-25 22:56:10 +0200 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-02-25 22:56:10 +0200 |
commit | 8de19b259ec4f451852ffaaaf7f1010dc05a6c2b (patch) | |
tree | f7416108eb7fd35596a80929975971f6cb6a8277 /app/views | |
parent | 5e69ad2ceae8d3619775695b7fcab62a7a32377a (diff) | |
download | gitlab-ce-8de19b259ec4f451852ffaaaf7f1010dc05a6c2b.tar.gz |
proper name for issue partial
Diffstat (limited to 'app/views')
-rw-r--r-- | app/views/dashboard/issues.html.haml | 2 | ||||
-rw-r--r-- | app/views/groups/issues.html.haml | 2 | ||||
-rw-r--r-- | app/views/issues/_issue.html.haml (renamed from app/views/issues/_show.html.haml) | 0 | ||||
-rw-r--r-- | app/views/issues/_issues.html.haml | 3 | ||||
-rw-r--r-- | app/views/teams/issues.html.haml | 2 |
5 files changed, 4 insertions, 5 deletions
diff --git a/app/views/dashboard/issues.html.haml b/app/views/dashboard/issues.html.haml index affe01a7ef9..539c57651f7 100644 --- a/app/views/dashboard/issues.html.haml +++ b/app/views/dashboard/issues.html.haml @@ -17,7 +17,7 @@ = link_to_project project %ul.well-list.issues_table - group[1].each do |issue| - = render(partial: 'issues/show', locals: {issue: issue}) + = render issue %hr = paginate @issues, theme: "gitlab" - else diff --git a/app/views/groups/issues.html.haml b/app/views/groups/issues.html.haml index 94682bdd51e..96aa2a1626d 100644 --- a/app/views/groups/issues.html.haml +++ b/app/views/groups/issues.html.haml @@ -16,7 +16,7 @@ = link_to_project project %ul.well-list.issues_table - group[1].each do |issue| - = render(partial: 'issues/show', locals: {issue: issue}) + = render issue %hr = paginate @issues, theme: "gitlab" - else diff --git a/app/views/issues/_show.html.haml b/app/views/issues/_issue.html.haml index 3d1ecd43881..3d1ecd43881 100644 --- a/app/views/issues/_show.html.haml +++ b/app/views/issues/_issue.html.haml diff --git a/app/views/issues/_issues.html.haml b/app/views/issues/_issues.html.haml index 3bbd293dba2..dc7db9061ac 100644 --- a/app/views/issues/_issues.html.haml +++ b/app/views/issues/_issues.html.haml @@ -1,5 +1,4 @@ -- @issues.each do |issue| - = render(partial: 'issues/show', locals: {issue: issue}) += render @issues - if @issues.present? %li.bottom diff --git a/app/views/teams/issues.html.haml b/app/views/teams/issues.html.haml index c6a68c37b9c..5b17c5d4f0b 100644 --- a/app/views/teams/issues.html.haml +++ b/app/views/teams/issues.html.haml @@ -16,7 +16,7 @@ = link_to_project @project %ul.well-list.issues_table - group[1].each do |issue| - = render(partial: 'issues/show', locals: {issue: issue}) + = render issue %hr = paginate @issues, theme: "gitlab" - else |