summaryrefslogtreecommitdiff
path: root/addons/web/static/src/xml/base.xml
diff options
context:
space:
mode:
authorChristophe Simonis <chs@odoo.com>2015-02-26 18:56:26 +0100
committerChristophe Simonis <chs@odoo.com>2015-02-26 18:56:26 +0100
commit109dae2efa84d5561bed6ead8d1aa2f1a8570d7f (patch)
treebb04e41e6950bf93765bd6b1df3ec02ae0910f85 /addons/web/static/src/xml/base.xml
parentf6d32a9fe9311e7c2c8c5dd5fd1d1afc182391c5 (diff)
parentd4f41a18a6a21ea627f2cabccb17d4049f4ad0cc (diff)
[MERGE] forward port of branch 8.0 up to d4f41a1
Diffstat (limited to 'addons/web/static/src/xml/base.xml')
-rw-r--r--addons/web/static/src/xml/base.xml3
1 files changed, 2 insertions, 1 deletions
diff --git a/addons/web/static/src/xml/base.xml b/addons/web/static/src/xml/base.xml
index ab242df110b..bbf83d02b0e 100644
--- a/addons/web/static/src/xml/base.xml
+++ b/addons/web/static/src/xml/base.xml
@@ -1118,9 +1118,10 @@
<ul style="list-style: none; padding-left: 2px; display: inline-block;">
<t t-foreach="widget.priorities" t-as="rec" >
<li t-att-data-value="rec.click_value" style="display: inline-block;">
- <a href="#" t-att-title="rec.name">
+ <a t-if="!widget.get('readonly')" href="#" t-att-title="rec.name">
<i t-att-class="widget.get('value') gte rec.value and 'fa fa-star oe_star_on' or 'fa fa-star oe_star_off'"/>
</a>
+ <span t-if="widget.get('readonly')" t-att-title="rec.name" t-att-class="widget.get('value') gte rec.value and 'oe_e oe_star_on' or 'oe_e oe_star_off'">7</span>
</li>
</t>
</ul>