changeset 2508:6016c2686c76

Fixes #18, modify tab now shown while creating an item
author sharky93 <rishabhr123@gmail.com>
date Mon, 23 Sep 2013 11:03:21 +0530
parents 677f7097c6fe
children 995f179561a5
files MoinMoin/config/default.py
diffstat 1 files changed, 4 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/config/default.py	Sun Sep 22 16:27:38 2013 +0530
+++ b/MoinMoin/config/default.py	Mon Sep 23 11:03:21 2013 +0530
@@ -395,7 +395,10 @@
             ('frontend.history', L_('History'), L_('Revision History'), True, ),
             # note: when rendering a non-existing item, you'll be offered to
             # create it (in the content area), so we do not offer "Modify":
-            ('frontend.modify_item', L_('Modify'), L_('Edit or Upload'), True, ),
+            # not offering modify while creating an item, leads to bad interface design, since
+            # we lose the consistency of the layout, it becomes difficult to identify where he is.
+            # so we no longer check, if item_exists for the modify item_view.
+            ('frontend.modify_item', L_('Modify'), L_('Edit or Upload'), False, ),
             ('special.supplementation', None, None, False, ),
             ('frontend.index', L_('Index'), L_('List sub-items'), False, ),
             ('special.comments', L_('Comments'), L_('Hide comments'), True, ),