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
da34448b
Commit
da34448b
authored
Jul 03, 2017
by
kushalpandya
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use buy/upload license link partials, update layout
parent
42e6e618
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
10 deletions
+8
-10
app/views/admin/licenses/missing.html.haml
app/views/admin/licenses/missing.html.haml
+7
-8
app/views/admin/licenses/show.html.haml
app/views/admin/licenses/show.html.haml
+1
-2
No files found.
app/views/admin/licenses/missing.html.haml
View file @
da34448b
...
...
@@ -2,14 +2,13 @@
%h3
.page-title
Your License
=
link_to
'Buy License'
,
"
#{
Gitlab
::
SUBSCRIPTIONS_URL
}
/plans"
,
target:
'_blank'
,
class:
"btn btn-new pull-right"
=
link_to
'Upload New License'
,
new_admin_license_path
,
class:
"btn pull-right"
=
render
"upload_buy_license"
%hr
%h4
You do not have a license.
%p
You can start a free trial of GitLab Enterprise Edition without any obligation or payment details.
=
link_to
'Start free trial'
,
new_admin_trials_url
,
class:
"btn btn-new"
.container.blank-state-container
.row.text-center
=
custom_icon
(
"missing_license"
)
%h4
You do not have a license.
%p
.trial-description
You can start a free trial of GitLab Enterprise Edition without any obligation or payment details.
=
link_to
'Start free trial'
,
new_admin_trials_url
,
class:
"btn btn-new btn-start-trial"
app/views/admin/licenses/show.html.haml
View file @
da34448b
...
...
@@ -2,8 +2,7 @@
%h3
.page-title
Your License
-
if
current_license
.
trial?
=
link_to
'Buy License'
,
"
#{
Gitlab
::
SUBSCRIPTIONS_URL
}
/plans"
,
target:
'_blank'
,
class:
"btn btn-new pull-right"
=
link_to
'Upload New License'
,
new_admin_license_path
,
class:
"btn pull-right"
=
render
"upload_buy_license"
-
else
=
link_to
'Upload New License'
,
new_admin_license_path
,
class:
"btn btn-new pull-right"
...
...
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