summaryrefslogtreecommitdiff
path: root/addons/website/static/src/xml/website.editor.xml
diff options
context:
space:
mode:
authorChristophe Matthieu <chm@odoo.com>2015-01-15 12:10:53 +0100
committerChristophe Matthieu <chm@odoo.com>2015-01-16 16:38:09 +0100
commite134fc885bd9346072531f83d6690d56396cd309 (patch)
treee99a301f4d4c0c6045cb8fda02f08f17ad976bfb /addons/website/static/src/xml/website.editor.xml
parent9477b838c6d88acbb550e8502caf15cfc56b7b46 (diff)
[IMP] website editor: designer can add new font like font-awsome (add folder and need to push the new parser in website.editor.fontIcons javascript object)
Diffstat (limited to 'addons/website/static/src/xml/website.editor.xml')
-rw-r--r--addons/website/static/src/xml/website.editor.xml10
1 files changed, 6 insertions, 4 deletions
diff --git a/addons/website/static/src/xml/website.editor.xml b/addons/website/static/src/xml/website.editor.xml
index 1549fee03ea..2f9477bd8e1 100644
--- a/addons/website/static/src/xml/website.editor.xml
+++ b/addons/website/static/src/xml/website.editor.xml
@@ -360,7 +360,7 @@
<input type="hidden" id="fa-size" value="fa-1x"/>
<div class="font-icons-icons">
<t t-call="website.editor.dialog.font-icons.icons">
- <t t-set="icons" t-value="widget.icons"/>
+ <t t-set="iconsParser" t-value="widget.iconsParser"/>
</t>
</div>
<div class="form-group mt32" id="fa-preview">
@@ -369,9 +369,11 @@
</form>
</t>
<t t-name="website.editor.dialog.font-icons.icons">
- <span t-foreach="icons" t-as="icon"
- t-attf-class="fa font-icons-icon #{icon}"
- t-att-data-id="icon"/>
+ <t t-foreach="iconsParser" t-as="data">
+ <span t-foreach="data.icons" t-as="icon"
+ t-attf-class="#{data.base} font-icons-icon #{icon}"
+ t-att-data-id="icon"/>
+ </t>
</t>
<t t-name="website.editor.dialog.video">