Commit fa71ec74 authored by yo's avatar yo Committed by Illya Klymov

Apply patch

parent 04b21cb3
.row .row
.col-md-6 .col-md-6
.card .gl-card.gl-mb-5
.card-header .gl-card-header
= _('Licensed to') = _('Licensed to')
%ul.content-list .gl-card-body
- @license.licensee.each do |label, value| %ul.content-list
%li - @license.licensee.each do |label, value|
%span.light= succeed(':') { label } %li
%strong= value %span.light= succeed(':') { label }
%strong= value
.card.js-license-info-panel .gl-card.js-license-info-panel.gl-mb-5
.gl-card-header .gl-card-header
= _('Details') = _('Details')
%ul.content-list .gl-card-body
%li %ul.content-list
%span.light= _('Plan:') %li
%strong= @license.plan.capitalize %span.light= _('Plan:')
- unless @license.ultimate? %strong= @license.plan.capitalize
= ' - ' - unless @license.ultimate?
= link_to _('Contact Sales to upgrade'), = ' - '
'https://about.gitlab.com/sales/?inapplink=contactsalessm', = link_to _('Contact Sales to upgrade'),
class: 'inline-link', 'https://about.gitlab.com/sales/?inapplink=contactsalessm',
target: :_blank, class: 'inline-link',
rel: :noreferrer target: :_blank,
%li rel: :noreferrer
%span.light= _('Uploaded:') %li
%strong= time_ago_with_tooltip @license.created_at %span.light= _('Uploaded:')
%li %strong= time_ago_with_tooltip @license.created_at
%span.light= _('Started:') %li
%strong= time_ago_with_tooltip @license.starts_at %span.light= _('Started:')
%li %strong= time_ago_with_tooltip @license.starts_at
%span.light %li
= render 'license_status' %span.light
= render 'license_status'
- if @license.expired? - if @license.expired?
%span.badge.badge-danger.float-right %span.badge.badge-danger.float-right
%strong= _('Expired') %strong= _('Expired')
%li %li
%span.light= _('License ID:') %span.light= _('License ID:')
%strong= @license.license_id %strong= @license.license_id
= clipboard_button(text: @license.license_id, title: _("Copy ID"), class: "btn-transparent btn-clipboard") = clipboard_button(text: @license.license_id, title: _("Copy ID"), class: "btn-transparent btn-clipboard")
.col-md-6 .col-md-6
......
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