[IMP] mail: improved followers widget layout
bzr revid: fva@openerp.com-20121026145758-sfwxii65fizb3nqa
This commit is contained in:
parent
7cdf99ade1
commit
38f4a6137a
|
@ -31,6 +31,9 @@
|
|||
margin-bottom:0px;
|
||||
min-height:34px;
|
||||
}
|
||||
.openerp .oe_msg .oe_msg_intented:last-child(){
|
||||
margin-bottom: 4px;
|
||||
}
|
||||
.openerp .oe_mail .oe_msg_indented .oe_msg_icon{
|
||||
width:32px;
|
||||
margin:1px;
|
||||
|
@ -255,7 +258,7 @@
|
|||
.openerp .oe_followers{
|
||||
position: relative;
|
||||
display: inline-block;
|
||||
padding-top: 4px;
|
||||
padding-top: 5px;
|
||||
width: 160px;
|
||||
float: right;
|
||||
}
|
||||
|
@ -295,15 +298,17 @@
|
|||
}
|
||||
|
||||
.openerp .oe_followers .oe_subtype_list{
|
||||
margin-bottom: 4px;
|
||||
margin-top: 4px;
|
||||
}
|
||||
|
||||
/* b) THE FOLLOWERS */
|
||||
.openerp .oe_followers .oe_follower_title{
|
||||
margin-top: 4px;
|
||||
margin-bottom: 4px;
|
||||
display: inline;
|
||||
}
|
||||
.openerp .oe_followers .oe_follower_title_box{
|
||||
margin-top: 12px;
|
||||
margin-bottom: 4px;
|
||||
}
|
||||
.openerp .oe_followers .oe_invite{
|
||||
float: right;
|
||||
}
|
||||
|
|
|
@ -542,7 +542,7 @@ openerp.mail = function (session) {
|
|||
}
|
||||
this.flag_used = true;
|
||||
|
||||
this.animated_destroy({'fadeTime':300});
|
||||
this.animated_destroy({'fadeTime':200});
|
||||
this.parent_thread.message_fetch(this.domain, this.context);
|
||||
return false;
|
||||
},
|
||||
|
@ -791,7 +791,7 @@ openerp.mail = function (session) {
|
|||
event.stopPropagation();
|
||||
if (! confirm(_t("Do you really want to delete this message?"))) { return false; }
|
||||
|
||||
this.animated_destroy({fadeTime:250});
|
||||
this.animated_destroy({fadeTime:150});
|
||||
// delete this message and his childs
|
||||
var ids = [this.id].concat( this.get_child_ids() );
|
||||
this.ds_message.unlink(ids);
|
||||
|
@ -807,7 +807,7 @@ openerp.mail = function (session) {
|
|||
|
||||
if ( (this.to_read && this.options.typeof_thread == 'inbox') ||
|
||||
(!this.to_read && this.options.typeof_thread == 'archives')) {
|
||||
this.animated_destroy({fadeTime:250});
|
||||
this.animated_destroy({fadeTime:150});
|
||||
}
|
||||
|
||||
// if this message is read, all childs message display is read
|
||||
|
@ -900,7 +900,7 @@ openerp.mail = function (session) {
|
|||
} else {
|
||||
button.removeClass('oe_starred');
|
||||
if ( self.options.typeof_thread == 'stared' ) {
|
||||
self.animated_destroy({fadeTime:250});
|
||||
self.animated_destroy({fadeTime:150});
|
||||
}
|
||||
}
|
||||
});
|
||||
|
|
|
@ -17,8 +17,10 @@
|
|||
<t t-if="widget.comment">
|
||||
<h5 class="oe_comment"><t t-raw="widget.comment"/></h5>
|
||||
</t>
|
||||
<h4 class='oe_follower_title'>Followers</h4>
|
||||
<a href='#' class="oe_invite">Invite others</a>
|
||||
<div class='oe_follower_title_box'>
|
||||
<h4 class='oe_follower_title'>Followers</h4>
|
||||
<a href='#' class="oe_invite">Invite others</a>
|
||||
</div>
|
||||
<div class="oe_follower_list"></div>
|
||||
</div>
|
||||
|
||||
|
|
Loading…
Reference in New Issue