some minor fixes
git-svn-id: svn://svn.cy55.de/Zope3/src/cybertools/trunk@1223 fd906abe-77d9-0310-91a1-e0d9ade77398
This commit is contained in:
parent
7a09a7d9df
commit
0ccbc6a78a
3 changed files with 13 additions and 5 deletions
|
@ -55,7 +55,9 @@
|
|||
</div>
|
||||
</metal:menu>
|
||||
</div>
|
||||
|
||||
<div id="content">
|
||||
|
||||
<div class="itemViews" metal:define-slot="actions">
|
||||
<tal:block repeat="view context/@@view_get_menu/zmi_views">
|
||||
<a href=""
|
||||
|
@ -67,6 +69,8 @@
|
|||
</tal:block>
|
||||
</div>
|
||||
|
||||
<metal:message metal:define-slot="message" />
|
||||
|
||||
<metal:content define-slot="body">Here comes the body</metal:content>
|
||||
|
||||
</div>
|
||||
|
|
|
@ -42,7 +42,7 @@ class LoginLogout(BaseLoginLogout):
|
|||
default='[Login]'))
|
||||
elif ILogoutSupported(self.request, None) is not None:
|
||||
return u'<a href="@@logout.html?nextURL=%s/login.html">%s</a>' % (
|
||||
urllib.quote(zapi.absoluteURL(self.context, self.request)),
|
||||
zapi.absoluteURL(self.context, self.request),
|
||||
translate(_('[Logout]'), context=self.request,
|
||||
default='[Logout]'))
|
||||
else:
|
||||
|
|
|
@ -47,9 +47,13 @@ class IPerson(Interface):
|
|||
'datetime.date object'),
|
||||
required=False,)
|
||||
|
||||
age = schema.Int(
|
||||
title=_(u'Age'),
|
||||
description=_(u'The current age in full years, so this should '
|
||||
'be an integer calculated dynamically, i.e. a read-only '
|
||||
'attribute'),
|
||||
readonly=True)
|
||||
|
||||
addresses = Attribute('A mapping whose values provide the IAddress '
|
||||
'interface')
|
||||
'interface')
|
||||
|
||||
age = Attribute('The current age in full years, so this should '
|
||||
'be an integer calculated dynamically, i.e. a read-only '
|
||||
'attribute')
|
||||
|
|
Loading…
Add table
Reference in a new issue