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
48b2efb9
Commit
48b2efb9
authored
Aug 12, 2020
by
Jay Swain
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Render app container in header partial
parent
44fceac5
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
app/views/layouts/header/_default.html.haml
app/views/layouts/header/_default.html.haml
+3
-0
ee/app/views/layouts/header/_whats_new_dropdown_item.html.haml
...p/views/layouts/header/_whats_new_dropdown_item.html.haml
+0
-3
No files found.
app/views/layouts/header/_default.html.haml
View file @
48b2efb9
...
@@ -84,5 +84,8 @@
...
@@ -84,5 +84,8 @@
=
sprite_icon
(
'ellipsis_h'
,
size:
12
,
css_class:
'more-icon js-navbar-toggle-right'
)
=
sprite_icon
(
'ellipsis_h'
,
size:
12
,
css_class:
'more-icon js-navbar-toggle-right'
)
=
sprite_icon
(
'close'
,
size:
12
,
css_class:
'close-icon js-navbar-toggle-left'
)
=
sprite_icon
(
'close'
,
size:
12
,
css_class:
'close-icon js-navbar-toggle-left'
)
-
if
::
Feature
.
enabled?
(
:whats_new_drawer
)
#whats-new-app
-
if
can?
(
current_user
,
:update_user_status
,
current_user
)
-
if
can?
(
current_user
,
:update_user_status
,
current_user
)
.js-set-status-modal-wrapper
{
data:
{
current_emoji:
current_user
.
status
.
present?
?
current_user
.
status
.
emoji
:
''
,
current_message:
current_user
.
status
.
present?
?
current_user
.
status
.
message
:
''
}
}
.js-set-status-modal-wrapper
{
data:
{
current_emoji:
current_user
.
status
.
present?
?
current_user
.
status
.
emoji
:
''
,
current_message:
current_user
.
status
.
present?
?
current_user
.
status
.
message
:
''
}
}
ee/app/views/layouts/header/_whats_new_dropdown_item.html.haml
View file @
48b2efb9
-
if
::
Feature
.
enabled?
(
:whats_new_dropdown
)
-
if
::
Feature
.
enabled?
(
:whats_new_dropdown
)
-
if
::
Feature
.
enabled?
(
:whats_new_drawer
)
-
if
::
Feature
.
enabled?
(
:whats_new_drawer
)
#whats-new-trigger
#whats-new-trigger
-
content_for
:scripts_body
do
#whats-new-app
-
else
-
else
%li
%li
=
link_to
_
(
"See what's new at GitLab"
),
"
#{
promo_url
}
/releases/gitlab-com/"
,
target:
'_blank'
,
rel:
'noopener noreferrer'
,
data:
{
track_event:
'click_whats_new'
,
track_property:
'question_menu'
}
=
link_to
_
(
"See what's new at GitLab"
),
"
#{
promo_url
}
/releases/gitlab-com/"
,
target:
'_blank'
,
rel:
'noopener noreferrer'
,
data:
{
track_event:
'click_whats_new'
,
track_property:
'question_menu'
}
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