Skip to content

Commit 15d5051

Browse files
committed
Add authority count to access-list drop down in proxy host
1 parent 8c64efd commit 15d5051

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<div class="title">
44
<i class="fe fe-lock text-teal"></i> <%- name %>
55
</div>
6-
<span class="description"><%- i18n('access-lists', 'item-count', {count: items.length || 0}) %>, <%- i18n('access-lists', 'client-count', {count: clients.length || 0}) %> &ndash; Created: <%- formatDbDate(created_on, 'Do MMMM YYYY, h:mm a') %></span>
6+
<span class="description"><%- i18n('access-lists', 'item-count', {count: items.length || 0}) %>, <%- i18n('access-lists', 'client-count', {count: clients.length || 0}) %>, <%- i18n('access-lists', 'clientca-count', {count: clientcas.length || 0}) %> &ndash; Created: <%- formatDbDate(created_on, 'Do MMMM YYYY, h:mm a') %></span>
77
<% } else { %>
88
<div class="title">
99
<i class="fe fe-unlock text-yellow"></i> <%- i18n('access-lists', 'public') %>

frontend/js/i18n/messages.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -223,6 +223,7 @@
223223
"help-content": "Access Lists provide a blacklist or whitelist of specific client IP addresses along with authentication for the Proxy Hosts via Basic HTTP Authentication.\nYou can configure multiple client rules, usernames and passwords for a single Access List and then apply that to a Proxy Host.\nThis is most useful for forwarded web services that do not have authentication mechanisms built in or that you want to protect from access by unknown clients.",
224224
"item-count": "{count} {count, select, 1{User} other{Users}}",
225225
"client-count": "{count} {count, select, 1{Rule} other{Rules}}",
226+
"clientca-count": "{count} {count, select, 1{Authority} other{Authorities}}",
226227
"proxy-host-count": "{count} {count, select, 1{Proxy Host} other{Proxy Hosts}}",
227228
"delete-has-hosts": "This Access List is associated with {count} Proxy Hosts. They will become publicly available upon deletion.",
228229
"details": "Details",
@@ -236,8 +237,7 @@
236237
"search": "Search Access…",
237238
"client-certificates": "Client Certificates",
238239
"clientca-add": "Add",
239-
"clientca-del": "Del",
240-
"clientca-count": "{count} {count, select, 1{Authority} other{Authorities}}"
240+
"clientca-del": "Del"
241241
},
242242
"users": {
243243
"title": "Users",

0 commit comments

Comments
 (0)