Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Jérome Perrin
gitlab-ce
Commits
48389b4e
Commit
48389b4e
authored
Aug 24, 2017
by
Maxim Rydkin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
replace `is_dashboard_milestone?` with `dashboard_milestone?`
parent
9226804b
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
app/models/concerns/milestoneish.rb
app/models/concerns/milestoneish.rb
+1
-1
app/models/dashboard_milestone.rb
app/models/dashboard_milestone.rb
+1
-1
app/views/shared/milestones/_top.html.haml
app/views/shared/milestones/_top.html.haml
+1
-1
No files found.
app/models/concerns/milestoneish.rb
View file @
48389b4e
...
@@ -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
...
...
app/models/dashboard_milestone.rb
View file @
48389b4e
...
@@ -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
app/views/shared/milestones/_top.html.haml
View file @
48389b4e
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment