diff MoinMoin/apps/admin/views.py @ 1907:7324a1d71443

simplify and standardize headings and page titles on user and admin pages
author Roger Haase <crosseyedpenguin@yahoo.com>
date Sun, 06 Jan 2013 12:42:47 -0700
parents ea19b98d4f94
children 2bd864ed640e
line wrap: on
line diff
--- a/MoinMoin/apps/admin/views.py	Sun Jan 06 07:39:01 2013 -0700
+++ b/MoinMoin/apps/admin/views.py	Sun Jan 06 12:42:47 2013 -0700
@@ -50,7 +50,7 @@
                           groups=[groupname for groupname in groups if rev.meta[NAME] in groups[groupname]],
                      )
                      for rev in revs]
-    return render_template('admin/userbrowser.html', user_accounts=user_accounts, title_name=_(u"User Browser"))
+    return render_template('admin/userbrowser.html', user_accounts=user_accounts, title_name=_(u"Users"))
 
 
 @admin.route('/userprofile/<user_name>', methods=['GET', 'POST', ])
@@ -161,7 +161,7 @@
 
     found.sort()
     return render_template('admin/wikiconfig.html',
-                           title_name=_(u"Wiki Configuration"),
+                           title_name=_(u"Show Wiki Configuration"),
                            found=found, settings=settings)
 
 
@@ -207,7 +207,7 @@
     rows = sorted([[desc, ' '.join(names), ' '.join(patterns), ' '.join(mimetypes), ]
                    for desc, names, patterns, mimetypes in lexers])
     return render_template('user/highlighterhelp.html',
-                           title_name=_(u"Highlighter Help"),
+                           title_name=_(u"Highlighters"),
                            headings=headings,
                            rows=rows)
 
@@ -220,7 +220,7 @@
                ]
     rows = sorted(app.cfg.interwiki_map.items())
     return render_template('user/interwikihelp.html',
-                           title_name=_(u"Interwiki Help"),
+                           title_name=_(u"Interwiki Names"),
                            headings=headings,
                            rows=rows)
 
@@ -235,6 +235,6 @@
             for rev in flaskg.storage.documents(wikiname=app.cfg.interwikiname)]
     rows = sorted(rows, reverse=True)
     return render_template('user/itemsize.html',
-                           title_name=_(u"Item Size"),
+                           title_name=_(u"Item Sizes"),
                            headings=headings,
                            rows=rows)