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
4f174e09
Commit
4f174e09
authored
Jul 24, 2020
by
David O'Regan
Committed by
Olena Horal-Koretska
Jul 24, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Hide Epic widget for incidents
parent
540e5aa1
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
2 deletions
+9
-2
ee/app/views/shared/issuable/_sidebar_item_epic.haml
ee/app/views/shared/issuable/_sidebar_item_epic.haml
+4
-2
ee/changelogs/unreleased/epic-issue-removal.yml
ee/changelogs/unreleased/epic-issue-removal.yml
+5
-0
No files found.
ee/app/views/shared/issuable/_sidebar_item_epic.haml
View file @
4f174e09
-
if
issuable_sidebar
[
:supports_epic
]
-
if
issuable_sidebar
[
:features_available
][
:epics
]
#js-vue-sidebar-item-epics-select
{
data:
{
can_edit:
can_admin_issue?
.
to_s
,
group_id:
@project
.
group
.
id
,
issue_id:
@issuable
.
id
,
epic_issue_id:
@issuable
.
epic_issue
&
.
id
}
}
-
unless
@issuable
.
labels
.
map
(
&
:title
).
include?
(
'incident'
)
#js-vue-sidebar-item-epics-select
{
data:
{
can_edit:
can_admin_issue?
.
to_s
,
group_id:
@project
.
group
.
id
,
issue_id:
@issuable
.
id
,
epic_issue_id:
@issuable
.
epic_issue
&
.
id
}
}
-
else
=
render
'shared/promotions/promote_epics'
-
unless
@issuable
.
labels
.
map
(
&
:title
).
include?
(
'incident'
)
=
render
'shared/promotions/promote_epics'
ee/changelogs/unreleased/epic-issue-removal.yml
0 → 100644
View file @
4f174e09
---
title
:
Hide Epic widget for incidents
merge_request
:
37731
author
:
type
:
changed
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