diff options
| author | Fabien Pinckaers <fp@openerp.com> | 2013-09-20 07:10:29 +0200 |
|---|---|---|
| committer | Fabien Pinckaers <fp@openerp.com> | 2013-09-20 07:10:29 +0200 |
| commit | a71804b74d661d4d5b2a74c8dce2585aa4207fb7 (patch) | |
| tree | c112bde6c15f3bdbf87de71dc4752a58c7439274 /addons/website/static/src/xml/website.editor.xml | |
| parent | 3e1a4a01a6bfb1c5c369590f0ffc1ed9796438e9 (diff) | |
[IMP] Attachments with default images
bzr revid: fp@openerp.com-20130920051029-0t61gy4zz68dfckl
Diffstat (limited to 'addons/website/static/src/xml/website.editor.xml')
| -rw-r--r-- | addons/website/static/src/xml/website.editor.xml | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/addons/website/static/src/xml/website.editor.xml b/addons/website/static/src/xml/website.editor.xml index fb5b0977671..f17a5335e4c 100644 --- a/addons/website/static/src/xml/website.editor.xml +++ b/addons/website/static/src/xml/website.editor.xml @@ -151,8 +151,7 @@ </ul> <div class="row mt16" t-foreach="rows" t-as="row"> <div class="col-sm-2" t-foreach="row" t-as="attachment"> - <t t-set="url">/website/attachment/<t t-esc="attachment.id"/></t> - <img t-att-src="url" t-att-alt="attachment.name" class="img img-responsive"/> + <img t-att-src="attachment.website_url" t-att-alt="attachment.name" class="img img-responsive"/> </div> </div> </div> |
