Commit da34448b authored by kushalpandya's avatar kushalpandya

Use buy/upload license link partials, update layout

parent 42e6e618
......@@ -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"
......@@ -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"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment