[pod] When inserting an image via statement do... from document(...), parameter 'sizeUnit' can now be 'pc' (percentage): in this case, percentages are expressed as a tuple (widthPercentage, heightPercentage) in parameter 'size' and must be integers from 1 to 100. [bin] backup.py: better error handling when contacting SMTP server. [gen] Calendar widget for Date fields: bugfix (when the date range is in reverse chronological order). [gen] Ref field: added hook 'afterLink' allowing to execute a method just after an object has been linked. [gen] Ref field: added attribute 'unlinkElement' allowing to define a specific condition for unlinking a given object (before, it was only possible to define, in attribute 'unlink', a global condition allowing to unlink any object from the Ref. [gen] Bugfix: the link to the home page, when clicking on the logo, is fixed.
This commit is contained in:
parent
268309045a
commit
25f0e8184e
10 changed files with 58 additions and 19 deletions
|
@ -153,7 +153,7 @@ class User(ModelClass):
|
|||
'toTool']
|
||||
# All methods defined below are fake. Real versions are in the wrapper.
|
||||
title = gen.String(show=False, indexed=True)
|
||||
gm = {'group': 'main', 'width': 25}
|
||||
gm = {'group': 'main', 'width': 34}
|
||||
def showName(self): pass
|
||||
name = gen.String(show=showName, **gm)
|
||||
firstName = gen.String(show=showName, **gm)
|
||||
|
|
BIN
gen/ui/space.gif
BIN
gen/ui/space.gif
Binary file not shown.
Before Width: | Height: | Size: 43 B After Width: | Height: | Size: 43 B |
|
@ -187,8 +187,8 @@ class AbstractWrapper(object):
|
|||
style=":url(bannerName, bg=True) + '; background-repeat:no-repeat;\
|
||||
position:relative'">
|
||||
<!-- Logo (transparent clickable zone by default) -->
|
||||
<div align=":dleft" style="position: absolute"><a href="/">
|
||||
<img src=":url('logo')"/></a></div>
|
||||
<div align=":dleft" style="position: absolute">
|
||||
<a href=":ztool.getSiteUrl()"><img src=":url('logo')"/></a></div>
|
||||
|
||||
<!-- Top links -->
|
||||
<div style="margin-top: 4px" align=":dright">
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue