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
f78cad96
Commit
f78cad96
authored
Mar 26, 2021
by
Chloe Liu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add qa-selector to page element on admin license page
parent
b5c68b22
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
ee/app/views/admin/licenses/_breakdown.html.haml
ee/app/views/admin/licenses/_breakdown.html.haml
+4
-4
ee/app/views/admin/licenses/_info.html.haml
ee/app/views/admin/licenses/_info.html.haml
+1
-1
No files found.
ee/app/views/admin/licenses/_breakdown.html.haml
View file @
f78cad96
...
@@ -9,7 +9,7 @@
...
@@ -9,7 +9,7 @@
.col-sm-6.d-flex.gl-mb-5
.col-sm-6.d-flex.gl-mb-5
.gl-card
.gl-card
.gl-card-body
.gl-card-body
%h2
.gl-mt-0
%h2
.gl-mt-0
{
data:
{
"qa-selector"
:
"users_in_license"
}
}
=
licensed_users
(
@license
)
=
licensed_users
(
@license
)
.text-uppercase.gl-mb-4
=
_
(
'Users in License'
)
.text-uppercase.gl-mb-4
=
_
(
'Users in License'
)
-
if
@license
.
will_expire?
-
if
@license
.
will_expire?
...
@@ -22,7 +22,7 @@
...
@@ -22,7 +22,7 @@
.col-sm-6.d-flex.gl-mb-5
.col-sm-6.d-flex.gl-mb-5
.gl-card
.gl-card
.gl-card-body
.gl-card-body
%h2
.gl-mt-0
%h2
.gl-mt-0
{
data:
{
"qa-selector"
:
"billable_users"
}
}
=
number_with_delimiter
@license
.
daily_billable_users_count
=
number_with_delimiter
@license
.
daily_billable_users_count
.text-uppercase.gl-mb-4
=
_
(
'Billable Users'
)
.text-uppercase.gl-mb-4
=
_
(
'Billable Users'
)
%p
%p
...
@@ -32,14 +32,14 @@
...
@@ -32,14 +32,14 @@
.col-sm-6.d-flex.gl-mb-5
.col-sm-6.d-flex.gl-mb-5
.gl-card.flex-fill
.gl-card.flex-fill
.gl-card-body
.gl-card-body
%h2
.gl-mt-0
%h2
.gl-mt-0
{
data:
{
"qa-selector"
:
"maximum_users"
}
}
=
number_with_delimiter
@license
.
maximum_user_count
=
number_with_delimiter
@license
.
maximum_user_count
.text-uppercase.gl-mb-4
=
_
(
'Maximum Users'
)
.text-uppercase.gl-mb-4
=
_
(
'Maximum Users'
)
=
_
(
'This is the highest peak of users on your installation since the license started.'
)
=
_
(
'This is the highest peak of users on your installation since the license started.'
)
.col-sm-6.d-flex.gl-mb-5
.col-sm-6.d-flex.gl-mb-5
.gl-card
.gl-card
.gl-card-body
.gl-card-body
%h2
.gl-mt-0
%h2
.gl-mt-0
{
data:
{
"qa-selector"
:
"users_over_license"
}
}
=
number_with_delimiter
users_over_license
=
number_with_delimiter
users_over_license
.text-uppercase.gl-mb-4
=
_
(
'Users over License'
)
.text-uppercase.gl-mb-4
=
_
(
'Users over License'
)
-
if
users_over_license
>
0
-
if
users_over_license
>
0
...
...
ee/app/views/admin/licenses/_info.html.haml
View file @
f78cad96
...
@@ -17,7 +17,7 @@
...
@@ -17,7 +17,7 @@
%ul
.content-list
%ul
.content-list
%li
%li
%span
.light
=
_
(
'Plan:'
)
%span
.light
=
_
(
'Plan:'
)
%strong
=
@license
.
plan
.
capitalize
%strong
{
data:
{
"qa-selector"
:
"plan_name"
}
}
=
@license
.
plan
.
capitalize
-
unless
@license
.
ultimate?
-
unless
@license
.
ultimate?
=
' - '
=
' - '
=
link_to
_
(
'Contact Sales to upgrade'
),
=
link_to
_
(
'Contact Sales to upgrade'
),
...
...
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