summaryrefslogtreecommitdiff
path: root/addons/web/static/src/xml/base.xml
diff options
context:
space:
mode:
authorGery Debongnie <ged@openerp.com>2014-05-09 08:58:25 +0200
committerGery Debongnie <ged@openerp.com>2014-05-09 08:58:25 +0200
commitf4860a9fd1a810fd5d256fcb75bb624fa110acef (patch)
tree54600561cae520171da9cac83cd8b0ad51559d23 /addons/web/static/src/xml/base.xml
parent8f55e4519fe26c677bc1ad1bc3b0ee72d03731a4 (diff)
parentb4aa0eb76f8497bf4479b8c27636c464be09e68d (diff)
[MERGE] merge from trunk
bzr revid: ged@openerp.com-20140509065825-s6awt9ql2ley1zpm
Diffstat (limited to 'addons/web/static/src/xml/base.xml')
-rw-r--r--addons/web/static/src/xml/base.xml33
1 files changed, 33 insertions, 0 deletions
diff --git a/addons/web/static/src/xml/base.xml b/addons/web/static/src/xml/base.xml
index 75d4bdbb1c6..f801e6c7c71 100644
--- a/addons/web/static/src/xml/base.xml
+++ b/addons/web/static/src/xml/base.xml
@@ -1029,6 +1029,39 @@
</t>
</span>
</t>
+<t t-name="KanbanSelection">
+ <div class="btn-group kanban_state">
+ <t t-foreach="widget.states" t-as="rec">
+ <a t-if="widget.get('value') === rec.name">
+ <a class="oe_legend dropdown-toggle" data-toggle="dropdown">
+ <span t-att-class="rec.state_class" t-if="widget.get('value') === rec.name" t-att-title="rec.tooltip"/>
+ <span class="sr-only">Toggle Dropdown</span>
+ </a>
+ </a>
+ </t>
+ <ul class="dropdown-menu state" role="menu">
+ <t t-foreach="widget.states" t-as="rec">
+ <t t-if="widget.get('value') !== rec.name">
+ <li class="oe_legend" t-att-data-value="rec.name" ><a href="#">
+ <span t-att-class="rec.state_class" t-att-title="rec.tooltip"/>
+ <t t-raw="rec.state_name" /></a>
+ </li>
+ </t>
+ </t>
+ </ul>
+ </div>
+</t>
+<t t-name="Priority">
+ <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" class="oe_legend" style="display: inline-block;">
+ <a href="#" t-att-title="rec.name">
+ <span t-att-class="widget.get('value') gte rec.value and 'oe_e oe_star_on' or 'oe_e oe_star_off'">7</span>
+ </a>
+ </li>
+ </t>
+ </ul>
+</t>
<t t-name="FieldEmail">
<span class="oe_form_field oe_form_field_email" t-att-style="widget.node.attrs.style">
<a t-if="widget.get('effective_readonly')" href="#" class="oe_form_uri" target="_blank"/>