changeset 2680:d324ef0ab68e

Reordered the admin menu as discussed and made the GET URL for user acl report cleaner
author Ajitesh Gupta <ajgupta93@gmail.com>
date Fri, 25 Jul 2014 19:43:30 +0530
parents e130fc605c63
children 4918721350e1
files MoinMoin/apps/admin/templates/admin/index.html MoinMoin/apps/admin/templates/admin/userbrowser.html
diffstat 2 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/apps/admin/templates/admin/index.html	Fri Jul 25 19:39:17 2014 +0530
+++ b/MoinMoin/apps/admin/templates/admin/index.html	Fri Jul 25 19:43:30 2014 +0530
@@ -3,10 +3,10 @@
 <h1>{{ _("Admin Menu") }}</h1>
 <ul>
     <li><a href="{{ url_for('admin.userbrowser') }}">{{ _("Users") }}</a></li>
+    <li><a href="{{ url_for('admin.groupbrowser') }}">{{ _("Groups") }}</a></li>
+    <li><a href="{{ url_for('admin.item_acl_report') }}">{{ _("Item ACL Report") }}</a></li>
+    <li><a href="{{ url_for('admin.trash', namespace='all') }}">{{ _("Trash") }}</a></li>
     <li><a href="{{ url_for('admin.wikiconfig') }}">{{ _("Show Wiki Configuration") }}</a></li>
     <li><a href="{{ url_for('admin.wikiconfighelp') }}">{{ _("Wiki Configuration Help") }}</a></li>
-    <li><a href="{{ url_for('admin.trash', namespace='all') }}">{{ _("Trash") }}</a></li>
-    <li><a href="{{ url_for('admin.groupbrowser') }}">{{ _("Groups") }}</a></li>
-    <li><a href="{{ url_for('admin.item_acl_report') }}">{{ _("Item ACL Report") }}</a></li>
 </ul>
 {% endblock %}
--- a/MoinMoin/apps/admin/templates/admin/userbrowser.html	Fri Jul 25 19:39:17 2014 +0530
+++ b/MoinMoin/apps/admin/templates/admin/userbrowser.html	Fri Jul 25 19:43:30 2014 +0530
@@ -33,7 +33,7 @@
                 </td>
                 <td>
                     <form action="{{ url_for('admin.user_acl_report', uid=u.uid) }}" method="GET">
-                        <input type="submit" name="userwise_acl" value="{{ _("User ACL Info") }}" />
+                        <input type="submit" value="{{ _("User ACL Info") }}" />
                     </form>
                 </td>
             </tr>