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
a25bd59c
Commit
a25bd59c
authored
May 26, 2020
by
Kushal Pandya
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use custom class to select Epic page wrapper
parent
0060d875
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
ee/app/assets/javascripts/epic/epic_tabs.js
ee/app/assets/javascripts/epic/epic_tabs.js
+1
-1
ee/app/views/groups/epics/show.html.haml
ee/app/views/groups/epics/show.html.haml
+1
-1
No files found.
ee/app/assets/javascripts/epic/epic_tabs.js
View file @
a25bd59c
...
...
@@ -5,7 +5,7 @@ import initRelatedItemsTree from 'ee/related_items_tree/related_items_tree_bundl
export
default
class
EpicTabs
{
constructor
()
{
this
.
epicTreesEnabled
=
gon
.
features
&&
gon
.
features
.
epicTrees
;
this
.
wrapper
=
document
.
querySelector
(
'
.
content-wrapper .container-fluid
:not(.breadcrumbs)
'
);
this
.
wrapper
=
document
.
querySelector
(
'
.
js-epic-container
:not(.breadcrumbs)
'
);
this
.
epicTabs
=
this
.
wrapper
.
querySelector
(
'
.js-epic-tabs-container
'
);
this
.
discussionFilterContainer
=
this
.
epicTabs
.
querySelector
(
'
.js-discussion-filter-container
'
);
const
allowSubEpics
=
parseBoolean
(
this
.
epicTabs
.
dataset
.
allowSubEpics
);
...
...
ee/app/views/groups/epics/show.html.haml
View file @
a25bd59c
-
@no_breadcrumb_container
=
false
-
@no_container
=
false
-
@content_class
=
"
limit-container-width"
unless
fluid_layout
-
@content_class
=
"
js-epic-container
#{
'limit-container-width'
unless
fluid_layout
}
"
-
epic_reference
=
@epic
.
to_reference
-
sub_epics_feature_available
=
@group
.
feature_available?
(
:subepics
)
...
...
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