certificates-list-item.ejs 828 B

123456789101112131415161718
  1. <div>
  2. <% if (id === 'new') { %>
  3. <div class="title">
  4. <i class="fe fe-shield text-success"></i> <%- i18n('all-hosts', 'new-cert') %>
  5. </div>
  6. <span class="description"><%- i18n('all-hosts', 'with-le') %></span>
  7. <% } else if (id > 0) { %>
  8. <div class="title">
  9. <i class="fe fe-shield text-pink"></i> <%- provider === 'other' ? nice_name : domain_names.join(', ') %>
  10. </div>
  11. <span class="description"><%- i18n('ssl', provider) %> &ndash; Expires: <%- formatDbDate(expires_on, 'Do MMMM YYYY, h:mm a') %></span>
  12. <% } else { %>
  13. <div class="title">
  14. <i class="fe fe-shield-off text-danger"></i> <%- i18n('all-hosts', 'none') %>
  15. </div>
  16. <span class="description"><%- i18n('all-hosts', 'no-ssl') %></span>
  17. <% } %>
  18. </div>