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
1
Merge Requests
1
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
nexedi
gitlab-ce
Commits
2c466608
Commit
2c466608
authored
Aug 17, 2020
by
Kev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Move gray milestone label to milestone_link
parent
fa5b37ec
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
5 deletions
+1
-5
app/views/shared/milestones/_milestone.html.haml
app/views/shared/milestones/_milestone.html.haml
+1
-5
No files found.
app/views/shared/milestones/_milestone.html.haml
View file @
2c466608
...
...
@@ -8,7 +8,7 @@
.gl-mb-2
%strong
{
data:
{
qa_selector:
"milestone_link"
,
qa_milestone_title:
milestone
.
title
}
}
=
link_to
truncate
(
milestone
.
title
,
length:
100
),
milestone_path
(
milestone
)
-
if
@group
-
if
@group
||
dashboard
=
" -
#{
milestone_type
}
"
-
if
milestone
.
due_date
||
milestone
.
start_date
...
...
@@ -62,7 +62,3 @@
=
link_to
s_
(
'Milestones|Reopen Milestone'
),
milestone_path
(
milestone
,
milestone:
{
state_event: :activate
}),
method: :put
,
class:
"btn btn-sm btn-grouped btn-reopen"
-
else
=
link_to
s_
(
'Milestones|Close Milestone'
),
milestone_path
(
milestone
,
milestone:
{
state_event: :close
}),
method: :put
,
class:
"btn btn-sm btn-grouped btn-close"
-
if
dashboard
.label-badge.label-badge-gray
=
milestone_type
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