changeset 125:db239a9ef5d0

move orphaned and wanted items link from menu to admin index
author Thomas Waldmann <tw AT waldmann-edv DOT de>
date Mon, 14 Mar 2011 03:04:21 +0100
parents 997d4a7c1b76
children 81f0ff7a5cae
files MoinMoin/apps/admin/templates/index.html MoinMoin/themes/__init__.py
diffstat 2 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/apps/admin/templates/index.html	Mon Mar 14 02:52:11 2011 +0100
+++ b/MoinMoin/apps/admin/templates/index.html	Mon Mar 14 03:04:21 2011 +0100
@@ -13,6 +13,8 @@
 </ul>
 <h1>{{ _("User Menu") }}</h1>
 <ul>
+    <li><a href="{{ url_for('frontend.wanted_items') }}">{{ _("Wanted Items") }}</a></li>
+    <li><a href="{{ url_for('frontend.orphaned_items') }}">{{ _("Orphaned Items") }}</a></li>
     <li><a href="{{ url_for('admin.itemsize') }}">{{ _("Item sizes (latest revision)") }}</a></li>
     <li><a href="{{ url_for('admin.interwikihelp') }}">{{ _("Known InterWiki names") }}</a></li>
     <li><a href="{{ url_for('admin.highlighterhelp') }}">{{ _("Available Highlighters") }}</a></li>
--- a/MoinMoin/themes/__init__.py	Mon Mar 14 02:52:11 2011 +0100
+++ b/MoinMoin/themes/__init__.py	Mon Mar 14 03:04:21 2011 +0100
@@ -300,8 +300,6 @@
             (_('Global History'), 'global_history', 'frontend.global_history', False, ),
             (_('Global Items Index'), 'global_index', 'frontend.global_index', False, ),
             (_('Global Tags Index'), 'global_tags', 'frontend.global_tags', False, ),
-            (_('Wanted Items'), 'wanted_items', 'frontend.wanted_items', False, ),
-            (_('Orphaned Items'), 'orphaned_items', 'frontend.orphaned_items', False, ),
             # Translation may need longer or shorter separator:
             (_('-----------------------------------'), 'show', 'frontend.show_item', True),
             (_('What refers here?'), 'backrefs', 'frontend.backrefs', False, ),