[FIX] web: nocontent_helper style

Correctly hide the 'create' part of the helper if the user can't create
Ensure that a's and span's are inline
This commit is contained in:
Aaron Bohy
2016-06-16 12:03:01 +02:00
parent dda0d3d62d
commit 022cdaaabb
+13 -1
View File
@@ -67,6 +67,18 @@
}
// No content helper
.oe_view.oe_cannot_create .oe_view_nocontent_create {
.oe_view_nocontent {
a {
cursor: pointer;
}
span, a {
display: inline!important;
}
}
// Hide view_nocontent in x2many fields
.o_form_field .oe_view_nocontent {
display: none;
}
.o_cannot_create .oe_view_nocontent_create {
display: none;
}