Bhumi Thakkar (Open ERP) has proposed merging 
lp:~openerp-dev/openerp-web/bth-mobile-listview into 
lp:~openerp-dev/openerp-web/mobile-client.

Requested reviews:
  OpenERP R&D Team (openerp-dev)

For more details, see:
https://code.launchpad.net/~openerp-dev/openerp-web/bth-mobile-listview/+merge/86543

Hello,

     Change appearance of additional info in list view. Create new class in css 
and apply on element '<p>' tag which contains additional info.

Thanks & Regards,
Bhumi Thakkar
-- 
https://code.launchpad.net/~openerp-dev/openerp-web/bth-mobile-listview/+merge/86543
Your team OpenERP R&D Team is requested to review the proposed merge of 
lp:~openerp-dev/openerp-web/bth-mobile-listview into 
lp:~openerp-dev/openerp-web/mobile-client.
=== modified file 'addons/web_mobile/static/lib/jquery_mobile/css/jquery.mobile-1.0a4.1.css'
--- addons/web_mobile/static/lib/jquery_mobile/css/jquery.mobile-1.0a4.1.css	2011-08-12 07:31:16 +0000
+++ addons/web_mobile/static/lib/jquery_mobile/css/jquery.mobile-1.0a4.1.css	2011-12-21 11:22:41 +0000
@@ -2,7 +2,7 @@
 * jQuery Mobile Framework
 * Copyright (c) jQuery Project
 * Dual licensed under the MIT (MIT-LICENSE.txt) and GPL (GPL-LICENSE.txt) licenses.
-* Note: Code is in draft form and is subject to change 
+* Note: Code is in draft form and is subject to change
 */
 
 

=== modified file 'addons/web_mobile/static/src/css/web_mobile.css'
--- addons/web_mobile/static/src/css/web_mobile.css	2011-07-19 06:55:13 +0000
+++ addons/web_mobile/static/src/css/web_mobile.css	2011-12-21 11:22:41 +0000
@@ -22,3 +22,6 @@
 .login_valid .login_error_message {
     display: none;
 }
+.desc{
+    margin:0em 0 0em
+}

=== modified file 'addons/web_mobile/static/src/js/list_mobile.js'
--- addons/web_mobile/static/src/js/list_mobile.js	2011-12-07 09:54:29 +0000
+++ addons/web_mobile/static/src/js/list_mobile.js	2011-12-21 11:22:41 +0000
@@ -51,6 +51,7 @@
                 });
                 self.$element.find("a#list-id").click(self.on_list_click);
                 $.mobile.changePage("#"+self.element_id, "slide", false, true);
+                self.$element.find("a#list-id").find('p').addClass('desc');
             });
         });
     },

=== modified file 'addons/web_mobile/static/src/xml/web_mobile.xml'
--- addons/web_mobile/static/src/xml/web_mobile.xml	2011-12-14 11:31:05 +0000
+++ addons/web_mobile/static/src/xml/web_mobile.xml	2011-12-21 11:22:41 +0000
@@ -136,19 +136,17 @@
             <ul data-role="listview" data-inset="true" data-theme="d" data-filter="true">
                 <li data-theme="c" t-foreach="records" t-as="record">
                     <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="#">
+                        <a id="list-id" t-att-data-id="record[0]" href="#">
+                            <t t-if="record[1].split(',')[0]==data1">
                                 <t t-esc="data1" />
-                            </a>
-                        </t>
+                            </t>
+                            <p>
+                                <t t-if="record[1].split(',')[0]!=data1">
+                                    <t t-esc="data1" />
+                                </t>
+                            </p>
+                         </a>
                     </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>

_______________________________________________
Mailing list: https://launchpad.net/~openerp-dev-gtk
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~openerp-dev-gtk
More help   : https://help.launchpad.net/ListHelp

Reply via email to