Merge lp:~openerp-dev/openerp-web/trunk-bug-1092942-ggh into lp:openerp-web

Proposed by Farid Ghanchi
Status: Merged
Merge reported by: Christophe Matthieu (OpenERP)
Merged at revision: not available
Proposed branch: lp:~openerp-dev/openerp-web/trunk-bug-1092942-ggh
Merge into: lp:openerp-web
Diff against target: 51 lines (+16/-0)
2 files modified
addons/web_kanban/static/src/css/kanban.css (+9/-0)
addons/web_kanban/static/src/css/kanban.sass (+7/-0)
To merge this branch: bzr merge lp:~openerp-dev/openerp-web/trunk-bug-1092942-ggh
Reviewer Review Type Date Requested Status
Farid Ghanchi (community) Needs Resubmitting
Christophe Matthieu (OpenERP) (community) Needs Fixing
OpenERP R&D Web Team Pending
Review via email: mp+141244@code.launchpad.net

Description of the change

Hello,

I had improve the code in kanban view tags are superimposed,
In code missing a class, not find the oe_tags class so view are not proper so add the class.
Now kanban view tags issue fixed.

Thanks
[GGH]

To post a comment you must log in.
Revision history for this message
Christophe Matthieu (OpenERP) (chm-openerp) wrote :

Hi,
The margin-right should be set to 0 for the oe_tags box.
Why you use span in place of the element oe_tag ?
This fix does not correct the view card.
Thanks.

review: Needs Fixing
3661. By Farid Ghanchi

improved code for oe_tags box

Revision history for this message
Farid Ghanchi (gfarid) wrote :

Hello,

The margin-right should be set to 0 for the oe_tags box.
I have use oe_tag class in place of span
yes its differnt behaviour in box like :
                  hours(oe_e) are view differ
                  oe_tag color are differ.
so now correct the view card.

Thanks...
[GGH]

review: Needs Resubmitting
Revision history for this message
Christophe Matthieu (OpenERP) (chm-openerp) wrote :

Hi,
I see that some values set in .openerp .oe_tag (sory I don't saw that before), could you remove the color, border, border-radius attributes, and set line-height: 14px;
Thanks.

review: Needs Fixing
Revision history for this message
Christophe Matthieu (OpenERP) (chm-openerp) wrote :

Could you fix Bug#1094877 in same time.
(Apply change on .openerp .oe_kanban_view instead of .openerp .oe_kanban_view .oe_kanban_footer_left, I think it will be good)
Thanks

3662. By Farid Ghanchi

[Fix] Fixed the issue of action number cut in kanban(bug#1094877)

Revision history for this message
Farid Ghanchi (gfarid) wrote :

Hello sir,

Yes,Its just like a same bug#1094887
So I had add a class *oe_kanban_group_title* in *display* property set.
Now not cut action number in kanban view with long column names when Edit.

Thanks

review: Needs Resubmitting
3663. By Farid Ghanchi

I had remove the color, border, border-radius attributes

Revision history for this message
Christophe Matthieu (OpenERP) (chm-openerp) wrote :

Hi,
Good, please see previous comments about use .oe_tag and excess attributes
Thanks

review: Needs Fixing
Revision history for this message
Farid Ghanchi (gfarid) wrote :

Hello sir,

I had remove some attribute in *oe_tags* as you suggest..

Thanks

review: Needs Resubmitting

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'addons/web_kanban/static/src/css/kanban.css'
2--- addons/web_kanban/static/src/css/kanban.css 2012-12-20 18:39:42 +0000
3+++ addons/web_kanban/static/src/css/kanban.css 2013-01-02 13:41:23 +0000
4@@ -84,6 +84,7 @@
5 }
6 .openerp .oe_kanban_view .oe_kanban_group_title > span {
7 margin-right: 4px;
8+ display: inline-block;
9 }
10 .openerp .oe_kanban_view .oe_kanban_column, .openerp .oe_kanban_view .oe_kanban_group_header {
11 vertical-align: top;
12@@ -432,6 +433,14 @@
13 line-height: 12px;
14 font-size: 22px;
15 }
16+.openerp .oe_kanban_view .oe_kanban_footer_left .oe_tags {
17+ margin-right: 0;
18+}
19+.openerp .oe_kanban_view .oe_kanban_footer_left .oe_tags .oe_tag {
20+ display: inline-block;
21+ padding: 0 2px;
22+ line-height: 14px;
23+}
24 .openerp .oe_kanban_view .oe_kanban_footer_left .oe_kanban_mail_new {
25 line-height: 18px;
26 background-color: #8a89ba;
27
28=== modified file 'addons/web_kanban/static/src/css/kanban.sass'
29--- addons/web_kanban/static/src/css/kanban.sass 2012-12-20 18:39:42 +0000
30+++ addons/web_kanban/static/src/css/kanban.sass 2013-01-02 13:41:23 +0000
31@@ -111,6 +111,7 @@
32 text-shadow: 0 1px 0 white
33 > span
34 margin-right: 4px
35+ display: inline-block
36
37 .oe_kanban_column, .oe_kanban_group_header
38 vertical-align: top
39@@ -381,6 +382,12 @@
40 .oe_e
41 line-height: 12px
42 font-size: 22px
43+ .oe_tags
44+ margin-right: 0
45+ .oe_tag
46+ display: inline-block
47+ padding: 0 2px
48+ line-height: 14px
49 .oe_kanban_mail_new
50 line-height: 18px
51 background-color: #8a89ba