summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/menu.html4
-rw-r--r--templates/users/entry.html3
2 files changed, 5 insertions, 2 deletions
diff --git a/templates/menu.html b/templates/menu.html
index 138cc23..d92d778 100644
--- a/templates/menu.html
+++ b/templates/menu.html
@@ -4,7 +4,7 @@
<ul class="nav">
<li class="{{{MENU.home}}}"><a href="/">Home</a></li>
<li class="{{{MENU.products}}}"><a href="/products">Products</a></li>
- <li class="{{{MENU.cashbox}}} {{{SUPERUSER}}}"><a href="/cashbox">Cashbox</a></li>
+ <li class="{{{MENU.cashbox}}} {{{AUTH_CASHBOX}}}"><a href="/cashbox">Cashbox</a></li>
<!--
<li class="{{{MENU.stats}}} dropdown">
<a href="#" id="statsmenu" class="dropdown-toggle" data-toggle="dropdown">Statistics <b class="caret"></b></a>
@@ -17,7 +17,7 @@
</ul>
</li>
-->
- <li class="{{{MENU.users}}} {{{SUPERUSER}}} dropdown">
+ <li class="{{{MENU.users}}} {{{AUTH_USERS}}} dropdown">
<a href="#" id="usersmenu" class="dropdown-toggle" data-toggle="dropdown">Users <b class="caret"></b></a>
<ul class="dropdown-menu">
<li><a href="/users">List</a></li>
diff --git a/templates/users/entry.html b/templates/users/entry.html
index ee1959c..9ff0239 100644
--- a/templates/users/entry.html
+++ b/templates/users/entry.html
@@ -23,6 +23,9 @@
<tr><th colspan="2">Administrative Information</th></tr>
<tr><th>Disabled</th><td>{{{DISABLED}}}</td></tr>
<tr><th>Superuser</th><td>{{{ISSUPERUSER}}}</td></tr>
+ <tr><th>Auth Products</th><td>{{{HAS_AUTH_PRODUCTS}}}</td></tr>
+ <tr><th>Auth Cashbox</th><td>{{{HAS_AUTH_CASHBOX}}}</td></tr>
+ <tr><th>Auth Users</th><td>{{{HAS_AUTH_USERS}}}</td></tr>
<tr><th rowspan="3">Password</th><td><input name="password1" placeholder="New Password" type="password" /></td></tr>
<tr><td><input name="password2" placeholder="New Password (again)" type="password" /></td></tr>
<tr><td><input type="submit" value="Change Password" /></td></tr>