proper name for issue partial

This commit is contained in:
Dmitriy Zaporozhets 2013-02-25 22:56:10 +02:00
parent 5e69ad2cea
commit 8de19b259e
5 changed files with 4 additions and 5 deletions

View file

@ -17,7 +17,7 @@
= link_to_project project = link_to_project project
%ul.well-list.issues_table %ul.well-list.issues_table
- group[1].each do |issue| - group[1].each do |issue|
= render(partial: 'issues/show', locals: {issue: issue}) = render issue
%hr %hr
= paginate @issues, theme: "gitlab" = paginate @issues, theme: "gitlab"
- else - else

View file

@ -16,7 +16,7 @@
= link_to_project project = link_to_project project
%ul.well-list.issues_table %ul.well-list.issues_table
- group[1].each do |issue| - group[1].each do |issue|
= render(partial: 'issues/show', locals: {issue: issue}) = render issue
%hr %hr
= paginate @issues, theme: "gitlab" = paginate @issues, theme: "gitlab"
- else - else

View file

@ -1,5 +1,4 @@
- @issues.each do |issue| = render @issues
= render(partial: 'issues/show', locals: {issue: issue})
- if @issues.present? - if @issues.present?
%li.bottom %li.bottom

View file

@ -16,7 +16,7 @@
= link_to_project @project = link_to_project @project
%ul.well-list.issues_table %ul.well-list.issues_table
- group[1].each do |issue| - group[1].each do |issue|
= render(partial: 'issues/show', locals: {issue: issue}) = render issue
%hr %hr
= paginate @issues, theme: "gitlab" = paginate @issues, theme: "gitlab"
- else - else