Various bugfixes.

This commit is contained in:
Gaetan Delannay 2012-09-19 11:29:29 +02:00
parent 5f530d9f9e
commit b985b5998d
4 changed files with 3 additions and 2 deletions

Binary file not shown.

View file

@ -328,6 +328,7 @@ class Search:
# 'SortableTitle', because index 'Title' is a ZCTextIndex # 'SortableTitle', because index 'Title' is a ZCTextIndex
# (for searchability) and can't be used for sorting. # (for searchability) and can't be used for sorting.
elif fieldName == 'state': return 'State' elif fieldName == 'state': return 'State'
elif fieldName in defaultIndexes: return fieldName
else: else:
return 'get%s%s'% (fieldName[0].upper(),fieldName[1:]) return 'get%s%s'% (fieldName[0].upper(),fieldName[1:])
@staticmethod @staticmethod

View file

@ -481,7 +481,7 @@ class ToolMixin(BaseMixin):
can be a Zope content type or a Appy class) can be created can be a Zope content type or a Appy class) can be created
(via a web form, by importing external data, etc). Result is a (via a web form, by importing external data, etc). Result is a
dict whose keys are strings (ie "form", "import"...) and whose dict whose keys are strings (ie "form", "import"...) and whose
values are additional data bout the particular mean.''' values are additional data about the particular mean.'''
pythonClass = contentTypeOrAppyClass pythonClass = contentTypeOrAppyClass
if isinstance(contentTypeOrAppyClass, basestring): if isinstance(contentTypeOrAppyClass, basestring):
pythonClass = self.getAppyClass(pythonClass) pythonClass = self.getAppyClass(pythonClass)

View file

@ -65,7 +65,7 @@ img { border: 0; vertical-align: middle}
width: 600px; border: 1px #F0C36D solid; padding: 6px 16px; width: 600px; border: 1px #F0C36D solid; padding: 6px 16px;
background-color: #F9EDBE; text-align: center; background-color: #F9EDBE; text-align: center;
border-radius: 2px 2px 2px 2px; box-shadow: 0 2px 4px #A9A9A9;} border-radius: 2px 2px 2px 2px; box-shadow: 0 2px 4px #A9A9A9;}
.focus { font-size: 90%; margin: 7px; background-color: #d7dee4; .focus { font-size: 90%; margin: 7px; padding: 7px; background-color: #d7dee4;
border-radius: 2px 2px 2px 2px; box-shadow: 0 2px 4px #A9A9A9;} border-radius: 2px 2px 2px 2px; box-shadow: 0 2px 4px #A9A9A9;}
.focus td { padding: 4px 0px 4px 4px } .focus td { padding: 4px 0px 4px 4px }
.discreet { font-size: 90%; } .discreet { font-size: 90%; }