=link_to'Upload New License',new_admin_license_path,class: "btn btn-new pull-right"
%hr
...
...
@@ -26,7 +26,11 @@
%span.light Uploaded:
%strong=time_ago_with_tooltip@license.created_at
%li
%span.light Expires:
%span.light
-if@license.expired?
Expired:
-else
Expires:
%strong
-if@license.will_expire?
=time_ago_with_tooltip@license.expires_at
...
...
@@ -66,8 +70,8 @@
.panel-heading
Download license
.panel-body
%p 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>.gitlab-license</code>.
%p Still, we recommend keeping it save somewhere, because if you ever need it and have lost it, you will need to request GitLab B.V. to send it to you again.
%p 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>.gitlab-license</code> file.
%p Still, we recommend keeping it save somewhere. Otherwise, if you ever need it and have lost it, you will need to request GitLab B.V. to send it to you again.
%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
=link_to'Remove license',admin_license_path,data: {confirm: "LICENSE WILL BE REMOVED! Are you sure?"},method: :delete,class: "btn btn-remove"
=link_to'Remove license',admin_license_path,data: {confirm: "Are you sure you want to remove the license?"},method: :delete,class: "btn btn-remove"