Skip to content

Commit

Permalink
[FIX] Calendar: fix some display issues
Browse files Browse the repository at this point in the history
* render the invitation widget inside oe_application
* override the margin of oe_right in order to display the two div on the same line
  • Loading branch information
sle-odoo committed Sep 8, 2014
1 parent 74aa740 commit bce4e22
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion addons/calendar/static/src/js/base_calendar.js
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ function reload_favorite_list(result) {
}
},
open_invitation_form : function(invitation){
this.$el.html(QWeb.render('invitation_view', {'invitation': JSON.parse(invitation)}));
$('.oe_application').html(QWeb.render('invitation_view', {'invitation': JSON.parse(invitation)}));
},
redirect_meeting_view : function(db, action, meeting_id, view){
var self = this;
Expand Down
2 changes: 1 addition & 1 deletion addons/calendar/static/src/xml/base_calendar.xml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@

<t t-name="invitation_view">
<div class='invitation_block well' style='width:50%; margin:auto; margin-top : 30px;'>
<div class="oe_right"><b><t t-esc="invitation['current_attendee'].cn"/> (<t t-esc="invitation['current_attendee'].email"/>)</b></div>
<div class="oe_right" style="margin-left:0px"><b><t t-esc="invitation['current_attendee'].cn"/> (<t t-esc="invitation['current_attendee'].email"/>)</b></div>
<div class="oe_left">
<img class="cal_inline cal_image" src='/web/binary/company_logo' />
</div>
Expand Down

0 comments on commit bce4e22

Please sign in to comment.