mirror of
https://github.com/NginxProxyManager/nginx-proxy-manager.git
synced 2025-12-15 20:13:25 +00:00
Form design for proxy hosts, audit log base
This commit is contained in:
@@ -30,10 +30,13 @@
|
||||
<a href="/nginx/access" class="nav-link"><i class="fe fe-lock"></i> Access Lists</a>
|
||||
</li>
|
||||
<% } %>
|
||||
<% if (showUsers()) { %>
|
||||
<% if (isAdmin()) { %>
|
||||
<li class="nav-item">
|
||||
<a href="/users" class="nav-link"><i class="fe fe-users"></i> Users</a>
|
||||
</li>
|
||||
<li class="nav-item">
|
||||
<a href="/audit-log" class="nav-link"><i class="fe fe-book-open"></i> Audit Log</a>
|
||||
</li>
|
||||
<% } %>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
@@ -26,7 +26,7 @@ module.exports = Mn.View.extend({
|
||||
},
|
||||
|
||||
templateContext: {
|
||||
showUsers: function () {
|
||||
isAdmin: function () {
|
||||
return Cache.User.isAdmin();
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user