nginx-proxy-manager/frontend/js/app/nginx/certificates-list-item.ejs

19 lines
828 B
Plaintext
Raw Normal View History

2018-08-13 05:50:28 -04:00
<div>
<% if (id === 'new') { %>
<div class="title">
2018-08-21 00:10:38 -04:00
<i class="fe fe-shield text-success"></i> <%- i18n('all-hosts', 'new-cert') %>
2018-08-13 05:50:28 -04:00
</div>
2018-08-20 18:33:51 -04:00
<span class="description"><%- i18n('all-hosts', 'with-le') %></span>
2018-08-13 05:50:28 -04:00
<% } else if (id > 0) { %>
<div class="title">
2018-08-21 00:10:38 -04:00
<i class="fe fe-shield text-pink"></i> <%- provider === 'other' ? nice_name : domain_names.join(', ') %>
2018-08-13 05:50:28 -04:00
</div>
<span class="description"><%- i18n('ssl', provider) %> &ndash; Expires: <%- formatDbDate(expires_on, 'Do MMMM YYYY, h:mm a') %></span>
2018-08-20 18:33:51 -04:00
<% } else { %>
2018-08-13 05:50:28 -04:00
<div class="title">
2018-08-21 00:10:38 -04:00
<i class="fe fe-shield-off text-danger"></i> <%- i18n('all-hosts', 'none') %>
2018-08-13 05:50:28 -04:00
</div>
2018-08-20 18:33:51 -04:00
<span class="description"><%- i18n('all-hosts', 'no-ssl') %></span>
2018-08-13 05:50:28 -04:00
<% } %>
</div>