diff options
| author | Bhumi Thakkar (Open ERP) <bth@tinyerp.com> | 2011-11-03 17:15:47 +0530 |
|---|---|---|
| committer | Bhumi Thakkar (Open ERP) <bth@tinyerp.com> | 2011-11-03 17:15:47 +0530 |
| commit | f2433868dfd472ee4bd275bab23ce9f86c5ef183 (patch) | |
| tree | 6c46ef5d67b7488b061795716f885dc58689586c /addons/web_mobile/static/src/xml | |
| parent | 417cae1645d11ee173bbb2dcebe112009b520cd7 (diff) | |
[IMP] html_name_get for additional information in listview is implemeted.
bzr revid: bth@tinyerp.com-20111103114547-k1abzbg5f2ys438i
Diffstat (limited to 'addons/web_mobile/static/src/xml')
| -rw-r--r-- | addons/web_mobile/static/src/xml/web_mobile.xml | 19 |
1 files changed, 15 insertions, 4 deletions
diff --git a/addons/web_mobile/static/src/xml/web_mobile.xml b/addons/web_mobile/static/src/xml/web_mobile.xml index 69e499e36c4..9a07da21ebe 100644 --- a/addons/web_mobile/static/src/xml/web_mobile.xml +++ b/addons/web_mobile/static/src/xml/web_mobile.xml @@ -138,10 +138,21 @@ <t t-if="records.length>0"> <ul data-role="listview" data-inset="true" data-theme="d" data-filter="true"> <li data-theme="c" t-foreach="records" t-as="record"> - <a id="list-id" t-att-data-id="record[0]" href="#"> - <t t-esc="record[1]"/> - </a> - <t t-foreach="data" t-as="data1" > + <t t-foreach="record[1].split(',')" t-as="data1"> + <t t-if="record[1].split(',')[0]==data1"> + <a id="list-id" t-att-data-id="record[0]" href="#"> + <t t-esc="data1" /> + </a> + </t> + </t> + <p> + <t t-foreach="record[1].split(',')" t-as="data1"> + <t t-if="record[1].split(',')[0]!=data1"> + <t t-esc="data1" /> + </t> + </t> + </p> + <t t-foreach="data" t-as="data1"> <t t-esc="data1[0]" /> </t> </li> |
