Commit 48389b4e authored by Maxim Rydkin's avatar Maxim Rydkin

replace `is_dashboard_milestone?` with `dashboard_milestone?`

parent 9226804b
...@@ -82,7 +82,7 @@ module Milestoneish ...@@ -82,7 +82,7 @@ module Milestoneish
false false
end end
def is_dashboard_milestone? def dashboard_milestone?
false false
end end
......
...@@ -3,7 +3,7 @@ class DashboardMilestone < GlobalMilestone ...@@ -3,7 +3,7 @@ class DashboardMilestone < GlobalMilestone
{ authorized_only: true } { authorized_only: true }
end end
def is_dashboard_milestone? def dashboard_milestone?
true true
end end
end end
...@@ -44,7 +44,7 @@ ...@@ -44,7 +44,7 @@
- close_msg = group ? 'You may close the milestone now.' : 'Navigate to the project to close the milestone.' - close_msg = group ? 'You may close the milestone now.' : 'Navigate to the project to close the milestone.'
%span All issues for this milestone are closed. #{close_msg} %span All issues for this milestone are closed. #{close_msg}
- if @milestone.legacy_group_milestone? || @milestone.is_dashboard_milestone? - if @milestone.legacy_group_milestone? || @milestone.dashboard_milestone?
.table-holder .table-holder
%table.table %table.table
%thead %thead
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment