summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorValerie Pirenne <vpi@odoo.com>2015-05-27 13:27:49 +0200
committerValerie Pirenne <vpi@odoo.com>2015-05-27 13:44:44 +0200
commitc9da5f4173357cc22e088d2eeacf6e5cfa35abe6 (patch)
tree7b65faa5e04e2d5646806c4791dc4d9d11680ef0
parente8da7881a133111ca84ab2021f50d592bddec228 (diff)
[FIX] mail: timeline view icons
-rw-r--r--addons/mail/static/src/css/mail.css10
-rw-r--r--addons/mail/views/mail_message_views.xml6
2 files changed, 9 insertions, 7 deletions
diff --git a/addons/mail/static/src/css/mail.css b/addons/mail/static/src/css/mail.css
index 5946a6a895b..bff0fb1169d 100644
--- a/addons/mail/static/src/css/mail.css
+++ b/addons/mail/static/src/css/mail.css
@@ -96,13 +96,13 @@
.openerp .o_timeline .o_timeline_thread_parent .o_timeline_parent_message .o_timeline_parent_subject {
display: inline-block;
- width: 442px;
+ width: 430px;
cursor: pointer;
vertical-align: middle;
}
.openerp .o_timeline .o_timeline_thread_parent .o_timeline_parent_message .o_timeline_parent_subject.o_timeline_small_subject {
- width: 411px;
+ width: 400px;
}
.openerp .o_timeline .o_timeline_thread_parent .o_timeline_parent_message .o_timeline_parent_subject .o_timeline_subject {
@@ -114,7 +114,7 @@
}
.openerp .o_timeline .o_timeline_thread_parent .o_timeline_parent_message .o_timeline_parent_subject.o_timeline_small_subject .o_timeline_subject {
- max-width: 405px;
+ max-width: 390px;
}
.openerp .o_timeline .o_timeline_thread_parent .o_timeline_parent_message .o_timeline_parent_subject .o_timeline_nb_unread_msg {
@@ -187,7 +187,9 @@
/* followers */
.openerp .o_timeline .o_timeline_thread_parent .o_timeline_parent_followers {
- margin-right: 15px;
+ display: inline-block;
+ min-width: 45px;
+ margin-right: 10px;
color: #337ab7;
}
diff --git a/addons/mail/views/mail_message_views.xml b/addons/mail/views/mail_message_views.xml
index ded2ba5e0f5..537e33b0709 100644
--- a/addons/mail/views/mail_message_views.xml
+++ b/addons/mail/views/mail_message_views.xml
@@ -387,9 +387,9 @@
</a>
</span> <!-- *** author *** -->
- <span class="o_timeline_parent_followers" t-if="widget.nb_followers > 0"> <!-- *** followers *** -->
- <span title="Number of followers"> <t t-raw="widget.nb_followers"/> </span>
- <i class="oe_follwrs fa fa-users"></i>
+ <span class="o_timeline_parent_followers"> <!-- *** followers *** -->
+ <span t-if="widget.nb_followers > 0" title="Number of followers"> <t t-raw="widget.nb_followers"/> </span>
+ <i t-if="widget.nb_followers > 0" class="oe_follwrs fa fa-users"></i>
</span> <!-- *** followers *** -->
<span class="o_timeline_msg_icons" t-if="!options.readonly"> <!-- *** repy *** -->