Fixed some HAML errors on milestone#show

The issuable reference wasn't correctly rendered on the page

2 counts where rendered in the top bar of the panel
This commit is contained in:
Phil Hughes 2017-01-13 08:54:20 -05:00
parent 6d010ebfb9
commit d92f1abafe
2 changed files with 1 additions and 3 deletions

View file

@ -16,7 +16,7 @@
= link_to_gfm issuable.title, [project.namespace.becomes(Namespace), project, issuable], title: issuable.title
.issuable-detail
= link_to [project.namespace.becomes(Namespace), project, issuable] do
%span.issuable-number >= issuable.to_reference
%span.issuable-number= issuable.to_reference
- issuable.labels.each do |label|
= link_to polymorphic_path(base_url_args, { milestone_title: @milestone.title, label_name: label.title, state: 'all' }) do

View file

@ -7,8 +7,6 @@
.left
= title
- if show_counter
.right
= issuables.size
.pull-right= number_with_delimiter(issuables.size)
- class_prefix = dom_class(issuables).pluralize