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
d59c9bd5
Commit
d59c9bd5
authored
Apr 14, 2020
by
Jay Swain
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add feature flag for easy toggling
parent
c954d2b8
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
+4
-2
app/views/layouts/_page.html.haml
app/views/layouts/_page.html.haml
+2
-1
app/views/projects/_flash_messages.html.haml
app/views/projects/_flash_messages.html.haml
+2
-1
No files found.
app/views/layouts/_page.html.haml
View file @
d59c9bd5
...
...
@@ -5,7 +5,8 @@
.mobile-overlay
.alert-wrapper
=
render
'shared/outdated_browser'
=
render_if_exists
"layouts/header/ee_subscribable_banner"
-
if
Feature
.
enabled?
(
:subscribable_banner_license
)
=
render_if_exists
"layouts/header/ee_subscribable_banner"
=
render
"layouts/broadcast"
=
render
"layouts/header/read_only_banner"
=
render
"layouts/nav/classification_level_banner"
...
...
app/views/projects/_flash_messages.html.haml
View file @
d59c9bd5
...
...
@@ -8,5 +8,6 @@
-
unless
project
.
empty_repo?
=
render
'shared/auto_devops_implicitly_enabled_banner'
,
project:
project
=
render_if_exists
'projects/above_size_limit_warning'
,
project:
project
=
render_if_exists
"layouts/header/ee_subscribable_banner"
,
subscription:
true
-
if
Feature
.
enabled?
(
:subscribable_banner_subscription
)
=
render_if_exists
"layouts/header/ee_subscribable_banner"
,
subscription:
true
=
render_if_exists
'shared/shared_runners_minutes_limit'
,
project:
project
,
classes:
[
container_class
,
(
"limit-container-width"
unless
fluid_layout
)]
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