summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--app/views/dashboard/issues.html.haml2
-rw-r--r--app/views/groups/issues.html.haml2
-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.haml3
-rw-r--r--app/views/teams/issues.html.haml2
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