[IMP] more images on selector
bzr revid: fp@tinyerp.com-20130919165525-3gaeb5s3iczfsvg6
This commit is contained in:
parent
6b7e32155d
commit
21b7b689c8
|
@ -692,8 +692,8 @@
|
|||
},
|
||||
});
|
||||
|
||||
var IMAGES_PER_ROW = 4;
|
||||
var IMAGES_ROWS = 3;
|
||||
var IMAGES_PER_ROW = 6;
|
||||
var IMAGES_ROWS = 4;
|
||||
website.editor.ExistingImageDialog = website.editor.Dialog.extend({
|
||||
template: 'website.editor.dialog.image.existing',
|
||||
events: _.extend({}, website.editor.Dialog.prototype.events, {
|
||||
|
|
|
@ -150,9 +150,9 @@
|
|||
<li class="next disabled"><a href="#">Next →</a></li>
|
||||
</ul>
|
||||
<div class="row mt16" t-foreach="rows" t-as="row">
|
||||
<div class="col-sm-3" t-foreach="row" t-as="attachment">
|
||||
<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 thumbnail"/>
|
||||
<img t-att-src="url" t-att-alt="attachment.name" class="img img-responsive"/>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
Loading…
Reference in New Issue