diff options
author | Nicolás Reynolds <fauno@kiwwwi.com.ar> | 2011-03-18 16:11:31 -0300 |
---|---|---|
committer | Nicolás Reynolds <fauno@kiwwwi.com.ar> | 2011-03-18 16:11:31 -0300 |
commit | 37075e5f3423a69fec03faf31ce2133c55374dfc (patch) | |
tree | 7403d5eefd5f20ab2a496dbbb9d9841b06e2e385 /templates/admin/index.html | |
parent | 30b2a1954d5bf63c78fe654a0c0bb98508e2f3e2 (diff) | |
parent | aca7700dd7519d45e677e18b1a0199f3712ce140 (diff) |
Merge branch 'master' of git://projects.archlinux.org/archweb
Conflicts:
templates/packages/details.html
templates/packages/files.html
Diffstat (limited to 'templates/admin/index.html')
-rw-r--r-- | templates/admin/index.html | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/templates/admin/index.html b/templates/admin/index.html index 6f7f98ee..93cf258d 100644 --- a/templates/admin/index.html +++ b/templates/admin/index.html @@ -14,10 +14,18 @@ <div class="module"> <table> <caption>Custom Admin Pages</caption> + {% if perms.auth.add_user %} <tr> <th scope="row"><a href="/devel/newuser/">Create New User</a></th> <td></td><td></td> </tr> + {% endif %} + {% if user.is_superuser %} + <tr> + <th scope="row"><a href="/devel/admin_log/">Admin Actions Log</a></th> + <td></td><td></td> + </tr> + {% endif %} </table> </div> |