From ff8069124bce8a541399d4f45c7e3e32ed668f30 Mon Sep 17 00:00:00 2001 From: helmutm Date: Sun, 20 Aug 2006 17:31:51 +0000 Subject: [PATCH] some minor improvements on editing and searching git-svn-id: svn://svn.cy55.de/Zope3/src/loops/trunk@1319 fd906abe-77d9-0310-91a1-e0d9ade77398 --- browser/common.py | 2 +- browser/node_macros.pt | 4 ++-- browser/resource_macros.pt | 3 ++- search/search.pt | 10 ++++++---- 4 files changed, 11 insertions(+), 8 deletions(-) diff --git a/browser/common.py b/browser/common.py index ab60826..1275df8 100644 --- a/browser/common.py +++ b/browser/common.py @@ -182,7 +182,7 @@ class BaseView(GenericView): @Lazy def inlineEditingActive(self): #return False - return self.request.principal.id == 'rootadmin' + #return self.request.principal.id == 'rootadmin' # this may depend on system and user settings... return True diff --git a/browser/node_macros.pt b/browser/node_macros.pt index 935d09e..2801082 100644 --- a/browser/node_macros.pt +++ b/browser/node_macros.pt @@ -30,14 +30,14 @@ tal:condition="item/xeditable | nothing"> Edit
Edit diff --git a/browser/resource_macros.pt b/browser/resource_macros.pt index 23e5585..c7180af 100644 --- a/browser/resource_macros.pt +++ b/browser/resource_macros.pt @@ -3,7 +3,8 @@

Title

- +
- + @@ -62,7 +62,7 @@ namePrefix string:search.$rowNum; param search_param | item/searchParam" tal:attributes="id string:$idPrefix.row"> - + @@ -92,7 +92,8 @@   + title="Add type" + tal:condition="nothing" /> 
@@ -118,7 +119,8 @@ tal:attributes="name string:$namePrefix.text; id string:$idPrefix.text;" />   + title="Add search word" + tal:condition="nothing" />