diff --git a/browser/liquid/view_macros.pt b/browser/liquid/view_macros.pt index e452af3..77ae05d 100644 --- a/browser/liquid/view_macros.pt +++ b/browser/liquid/view_macros.pt @@ -55,7 +55,9 @@ +
+
+ + Here comes the body
diff --git a/browser/loops/auth.py b/browser/loops/auth.py index 410e7ab..82e3113 100644 --- a/browser/loops/auth.py +++ b/browser/loops/auth.py @@ -42,7 +42,7 @@ class LoginLogout(BaseLoginLogout): default='[Login]')) elif ILogoutSupported(self.request, None) is not None: return u'%s' % ( - urllib.quote(zapi.absoluteURL(self.context, self.request)), + zapi.absoluteURL(self.context, self.request), translate(_('[Logout]'), context=self.request, default='[Logout]')) else: diff --git a/organize/interfaces.py b/organize/interfaces.py index 3bea2b5..141980f 100644 --- a/organize/interfaces.py +++ b/organize/interfaces.py @@ -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')