Commit 74345b89 authored by Yogi's avatar Yogi Committed by Illya Klymov

Apply new GitLab UI for buttons and card in admin/license

parent 4aeb9087
---
title: Update to gl-card
merge_request:
author:
type: other
......@@ -10,7 +10,7 @@
%strong= value
.card.js-license-info-panel
.card-header
.gl-card-header
= _('Details')
%ul.content-list
%li
......@@ -43,20 +43,20 @@
.col-md-6
.card.border-info
.card-header.bg-info.text-white
.gl-card.border-info.gl-mb-5
.gl-card-header.bg-info.text-white
= _('Download license')
.card-body
.gl-card-body
%p= html_escape(_('Your license will be included in your GitLab backup and will survive upgrades, so in normal usage you should never need to re-upload your %{code_open}.gitlab-license%{code_close} file.')) % { code_open: '<code>'.html_safe, code_close: '</code>'.html_safe }
%p= _('Still, we recommend keeping a backup saved somewhere. Otherwise, if you ever need it and have lost it, you will need to request GitLab Inc. to send it to you again.')
%br
= link_to _('Download license'), download_admin_license_path, class: 'gl-button btn btn-info'
= link_to _('Customer Portal'), 'https://customers.gitlab.com', class: 'gl-button btn btn-info btn-inverted', data: { track_event: 'click_text', track_label: 'license_dashboard', track_property: 'customer_portal' }, target: '_blank', rel: 'noopener noreferrer'
.card.border-danger
.card-header.bg-danger.text-white
.gl-card.border-danger.gl-mb-5
.gl-card-header.bg-danger.text-white
= _('Remove license')
.card-body
.gl-card-body
%p= _('If you remove this license, GitLab will fall back on the previous license, if any.')
%p= _('If there is no previous license or if the previous license has expired, some GitLab functionality will be blocked until a new, valid license is uploaded.')
%br
......
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