diff options
author | Kushal Pandya <kushal@gitlab.com> | 2017-01-13 19:07:21 +0300 |
---|---|---|
committer | Kushal Pandya <kushal@gitlab.com> | 2017-01-24 21:09:28 +0300 |
commit | fa21471af626d1bfdb738e1a77e0d5b7fc3d85a3 (patch) | |
tree | 72d74b32f268127f5ce79f68bfe693e1e75b8bee /app/views/shared/_milestones_filter.html.haml | |
parent | eeb68676331afeca4208084d0dcec81bc5e9472c (diff) |
HAMLLint: Fix `UnnecessaryInterpolation` offences
Diffstat (limited to 'app/views/shared/_milestones_filter.html.haml')
-rw-r--r-- | app/views/shared/_milestones_filter.html.haml | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/app/views/shared/_milestones_filter.html.haml b/app/views/shared/_milestones_filter.html.haml index 39294fe1a09..704893b4d5b 100644 --- a/app/views/shared/_milestones_filter.html.haml +++ b/app/views/shared/_milestones_filter.html.haml @@ -6,14 +6,14 @@ = link_to milestones_filter_path(state: 'opened') do Open - if @project - %span.badge #{counts[:opened]} + %span.badge= counts[:opened] %li{ class: milestone_class_for_state(params[:state], 'closed') }> = link_to milestones_filter_path(state: 'closed') do Closed - if @project - %span.badge #{counts[:closed]} + %span.badge= counts[:closed] %li{ class: milestone_class_for_state(params[:state], 'all') }> = link_to milestones_filter_path(state: 'all') do All - if @project - %span.badge #{counts[:all]} + %span.badge= counts[:all] |