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

14 lines
573 B
Plaintext
Raw Normal View History

2018-08-20 18:33:51 -04:00
<div>
<% if (id > 0) { %>
<div class="title">
2018-08-21 00:10:38 -04:00
<i class="fe fe-lock text-teal"></i> <%- name %>
2018-08-20 18:33:51 -04:00
</div>
<span class="description"><%- i18n('access-lists', 'item-count', {count: items.length || 0}) %> &ndash; Created: <%- formatDbDate(created_on, 'Do MMMM YYYY, h:mm a') %></span>
<% } else { %>
<div class="title">
2018-08-21 00:10:38 -04:00
<i class="fe fe-unlock text-yellow"></i> <%- i18n('access-lists', 'public') %>
2018-08-20 18:33:51 -04:00
</div>
<span class="description"><%- i18n('access-lists', 'public-sub') %></span>
<% } %>
</div>