[FIX] mail_followers: ellipsis for long name, esc name to display

bzr revid: chm@openerp.com-20130327103350-wdpigtwvtwm92ov1
This commit is contained in:
Christophe Matthieu 2013-03-27 11:33:50 +01:00
parent 305615c40f
commit 1f2518a64f
2 changed files with 3 additions and 1 deletions

View File

@ -621,6 +621,8 @@
height: 32px;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
margin-right: 10px;
}
.openerp .oe_followers .oe_partner img{
width: 32px;

View File

@ -31,7 +31,7 @@
-->
<div t-name="mail.followers.partner" class='oe_partner'>
<img class="oe_mail_thumbnail oe_mail_frame" t-attf-src="{record.avatar_url}"/>
<a t-attf-href="#model=res.partner&amp;id=#{record.id}"><t t-raw="record.name"/></a>
<a t-attf-href="#model=res.partner&amp;id=#{record.id}" t-att-title="record.name"><t t-esc="record.name"/></a>
<span t-if="widget.view_is_editable" class="oe_remove_follower oe_e" title="Remove this follower" t-att-data-id="record.id">X</span>
</div>