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
716373a6
Commit
716373a6
authored
Jun 10, 2021
by
Paul Gascou-Vaillancourt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Migrate license alert to shared HAML template
parent
224284bb
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
3 deletions
+5
-3
ee/app/views/admin/licenses/show.html.haml
ee/app/views/admin/licenses/show.html.haml
+5
-3
No files found.
ee/app/views/admin/licenses/show.html.haml
View file @
716373a6
...
@@ -13,10 +13,12 @@
...
@@ -13,10 +13,12 @@
%hr
%hr
-
if
License
.
future_dated_only?
-
if
License
.
future_dated_only?
.gl-alert.gl-alert-info
=
render
'shared/global_alert'
,
=
sprite_icon
(
'information-o'
,
css_class:
'gl-icon gl-alert-icon gl-alert-icon-no-title'
)
title:
_
(
'You do not have an active license'
),
variant: :info
,
is_contained:
true
,
dismissible:
false
do
.gl-alert-body
.gl-alert-body
%h4
.gl-alert-title
=
_
(
'You do not have an active license'
)
=
_
(
'You have a license that activates at a future date. Please see the License History table below.'
)
=
_
(
'You have a license that activates at a future date. Please see the License History table below.'
)
-
if
@license
.
present?
-
if
@license
.
present?
...
...
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