Merge lp:~openerp-dev/openobject-addons/trunk-tipsy-to-boostrap into lp:openobject-addons

Proposed by Bhumi Thakkar (Open ERP)
Status: Needs review
Proposed branch: lp:~openerp-dev/openobject-addons/trunk-tipsy-to-boostrap
Merge into: lp:openobject-addons
Diff against target: 90 lines (+13/-5)
6 files modified
crm/static/src/js/crm_case_section.js (+1/-1)
hr_attendance/static/src/js/attendance.js (+4/-1)
hr_attendance/static/src/xml/attendance.xml (+1/-1)
mail/static/src/js/mail.js (+2/-0)
process/static/src/js/process.js (+2/-0)
project/static/src/js/project.js (+3/-2)
To merge this branch: bzr merge lp:~openerp-dev/openobject-addons/trunk-tipsy-to-boostrap
Reviewer Review Type Date Requested Status
OpenERP Core Team Pending
Review via email: mp+198204@code.launchpad.net

Description of the change

Hello,

  Added bootstrap tooltip and removed tipsy tooltip.

Thanks.

To post a comment you must log in.
9011. By Bhumi Thakkar (Open ERP)

[MERGE]With trunk.

9012. By Bhumi Thakkar (Open ERP)

[IMP]html true set in tooltip options.

9013. By Bhumi Thakkar (Open ERP)

[MERGE]With trunk.

9014. By Kunal Chavda

[MERGE]with latest.

9015. By Kunal Chavda

[IMP]modify for tipsy to tooltip.

9016. By Kunal Chavda

[MERGE]with latest.

Unmerged revisions

9016. By Kunal Chavda

[MERGE]with latest.

9015. By Kunal Chavda

[IMP]modify for tipsy to tooltip.

9014. By Kunal Chavda

[MERGE]with latest.

9013. By Bhumi Thakkar (Open ERP)

[MERGE]With trunk.

9012. By Bhumi Thakkar (Open ERP)

[IMP]html true set in tooltip options.

9011. By Bhumi Thakkar (Open ERP)

[MERGE]With trunk.

9010. By Bhumi Thakkar (Open ERP)

[MERGE]With Trunk.

9009. By Bhumi Thakkar (Open ERP)

[IMP]Add tooltip for mail.

9008. By Bhumi Thakkar (Open ERP)

[IMP]Add tooltip for procee view.

9007. By Bhumi Thakkar (Open ERP)

[IMP]Add attribute.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'crm/static/src/js/crm_case_section.js'
--- crm/static/src/js/crm_case_section.js 2013-11-01 09:02:22 +0000
+++ crm/static/src/js/crm_case_section.js 2013-12-20 06:50:45 +0000
@@ -19,7 +19,7 @@
19 dataset.read_slice(['id', 'name']).done(function(result) {19 dataset.read_slice(['id', 'name']).done(function(result) {
20 _.each(result, function(v, k) {20 _.each(result, function(v, k) {
21 // Set the proper value in the DOM21 // Set the proper value in the DOM
22 self.$el.find('img[data-member_id=' + v.id + ']').attr('title', v.name).tipsy({22 self.$el.find('img[data-member_id=' + v.id + ']').attr('title', v.name).tooltip({
23 offset: 1023 offset: 10
24 });24 });
25 });25 });
2626
=== modified file 'hr_attendance/static/src/js/attendance.js'
--- hr_attendance/static/src/js/attendance.js 2012-12-14 15:52:25 +0000
+++ hr_attendance/static/src/js/attendance.js 2013-12-20 06:50:45 +0000
@@ -25,7 +25,8 @@
25 this.$(".oe_attendance_signout").click(function() {25 this.$(".oe_attendance_signout").click(function() {
26 self.do_update_attendance();26 self.do_update_attendance();
27 });27 });
28 this.$el.tipsy({28 this.$el.attr('data-toggle', 'tooltip');
29 this.$el.tooltip({
29 title: function() {30 title: function() {
30 var last_text = instance.web.format_value(self.last_sign, {type: "datetime"});31 var last_text = instance.web.format_value(self.last_sign, {type: "datetime"});
31 var current_text = instance.web.format_value(new Date(), {type: "datetime"});32 var current_text = instance.web.format_value(new Date(), {type: "datetime"});
@@ -37,6 +38,8 @@
37 }38 }
38 },39 },
39 html: true,40 html: true,
41 container: 'body',
42 placement: 'bottom',
40 });43 });
41 return this.check_attendance();44 return this.check_attendance();
42 },45 },
4346
=== modified file 'hr_attendance/static/src/xml/attendance.xml'
--- hr_attendance/static/src/xml/attendance.xml 2012-09-07 11:51:20 +0000
+++ hr_attendance/static/src/xml/attendance.xml 2013-12-20 06:50:45 +0000
@@ -1,6 +1,6 @@
1<template>1<template>
2 <t t-name="AttendanceSlider">2 <t t-name="AttendanceSlider">
3 <div class="oe_attendance_status oe_attendance_nosigned" data-tipsy="true">3 <div class="oe_attendance_status oe_attendance_nosigned" data-toggle="tooltip">
4 <div class="oe_attendance_signin"></div>4 <div class="oe_attendance_signin"></div>
5 <div class="oe_attendance_signout"></div>5 <div class="oe_attendance_signout"></div>
6 </div>6 </div>
77
=== modified file 'mail/static/src/js/mail.js'
--- mail/static/src/js/mail.js 2013-12-18 15:57:15 +0000
+++ mail/static/src/js/mail.js 2013-12-20 06:50:45 +0000
@@ -964,6 +964,8 @@
964 * in the function. */964 * in the function. */
965 bind_events: function () {965 bind_events: function () {
966 var self = this;966 var self = this;
967 this.$el.find('[title]').attr('data-toggle', 'tooltip');
968 this.$el.find('[title]').tooltip({placement: 'bottom', container: 'body', html: true})
967 // header icons bindings969 // header icons bindings
968 this.$('.oe_read').on('click', this.on_message_read);970 this.$('.oe_read').on('click', this.on_message_read);
969 this.$('.oe_unread').on('click', this.on_message_unread);971 this.$('.oe_unread').on('click', this.on_message_unread);
970972
=== modified file 'process/static/src/js/process.js'
--- process/static/src/js/process.js 2012-12-03 09:24:16 +0000
+++ process/static/src/js/process.js 2013-12-20 06:50:45 +0000
@@ -11,6 +11,8 @@
11 } else {11 } else {
12 this.process_model = this.dataset.model;12 this.process_model = this.dataset.model;
13 }13 }
14 this.$el.find('.oe_process').attr('data-toggle', 'tooltip');
15 this.$el.find('.oe_process').tooltip({placement: 'bottom', container: 'body', html: true});
14 this.$el.on('click', '.oe_process', function(ev) { self.initialize_process_view(ev);});16 this.$el.on('click', '.oe_process', function(ev) { self.initialize_process_view(ev);});
15 return _super;17 return _super;
16 },18 },
1719
=== modified file 'project/static/src/js/project.js'
--- project/static/src/js/project.js 2013-02-01 12:17:13 +0000
+++ project/static/src/js/project.js 2013-12-20 06:50:45 +0000
@@ -18,9 +18,10 @@
18 var dataset = new openerp.web.DataSetSearch(self, 'res.users', self.session.context, [['id', 'in', _.uniq(members_ids)]]);18 var dataset = new openerp.web.DataSetSearch(self, 'res.users', self.session.context, [['id', 'in', _.uniq(members_ids)]]);
19 dataset.read_slice(['id', 'name']).done(function(result) {19 dataset.read_slice(['id', 'name']).done(function(result) {
20 _.each(result, function(v, k) {20 _.each(result, function(v, k) {
21 self.$el.find('img[data-member_id=' + v.id + ']').attr('data-toggle', 'tooltip');
21 // Set the proper value in the DOM22 // Set the proper value in the DOM
22 self.$el.find('img[data-member_id=' + v.id + ']').attr('title', v.name).tipsy({23 self.$el.find('img[data-member_id=' + v.id + ']').attr('title', v.name).tooltip({
23 offset: 1024 offset: 10, placement: 'bottom', container: 'body', html: true
24 });25 });
25 });26 });
26 });27 });

Subscribers

People subscribed via source and target branches

to all changes: