diff options
| author | Xavier ALT <x.alt@ajm.lu> | 2010-04-26 15:38:47 +0200 |
|---|---|---|
| committer | Xavier ALT <x.alt@ajm.lu> | 2010-04-26 15:38:47 +0200 |
| commit | c048a189a7c1ffb87ce4c079dbed58b2a73f5c66 (patch) | |
| tree | 92bae498f5fdcc6d911c748a87a0a8877a8b1539 /bin/sql_db.py | |
| parent | a4f00ad02f34f0b686193f8a9b98f9f482505652 (diff) | |
[IMP] add new view type: gallery
New view is used like that:
<gallery string="Partners" col=-1 width=75 height=75>
<field name="name" type="text"/>
<field name="picture" type="image"/>
</gallery>
- string: display name of the view
- col: force number of columns (auto if -1), default -1
- width: size of one gallery item (in pixels), default 75
- height: size of one gallery item (in pixels), default 75
- field type='text': field to be used for gallery item text
- field type='image': field to be used for gallery image repr.
bzr revid: x.alt@ajm.lu-20100426133847-4y0egk230hsf41gq
Diffstat (limited to 'bin/sql_db.py')
0 files changed, 0 insertions, 0 deletions
