[IMP]Placed edit image in place of edit link and improved css.

bzr revid: psa@tinyerp.com-20130306111854-d95kiof2o4apc8ns
This commit is contained in:
Paramjit Singh Sahota
2013-03-06 16:48:54 +05:30
parent 73cf8d29f9
commit 7c5ddd2de0
4 changed files with 5 additions and 3 deletions
+1 -1
View File
@@ -37,7 +37,7 @@
<record model="ir.ui.view" id="view_edit_message_subtype_tree">
<field name="name">edit.message.subtype.tree</field>
<field name="model">mail.message.subtype</field>
<field name="priority">9</field>
<field name="priority">10</field>
<field name="arch" type="xml">
<tree string="Edit Subtype" editable="top">
<field name="name"/>
+3 -1
View File
@@ -619,9 +619,11 @@
}
.openerp .oe_followers .oe_edit_subtype{
cursor: pointer;
line-height: 26px;
position: absolute;
right: 12px;
margin-top: 6px;
width: 10px !important;
height: 12px !important;
}
.openerp .oe_followers .oe_show_more{
Binary file not shown.

After

Width:  |  Height:  |  Size: 129 B

@@ -32,7 +32,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-if="widget.view_is_editable" class="oe_edit_subtype" title="Edit Subtype" t-att-data-id="record.id">Edit</a>
<img class="oe_edit_subtype" t-att-src='_s + "/mail/static/src/img/icon-edit.gif"' title="Edit Subtype" t-att-data-id="record.id"/>
<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>