added tipsy
bzr revid: nicolas.vanhoren@openerp.com-20120906141051-mhgqkoycwxf8flp5
This commit is contained in:
parent
bebed68373
commit
56e2d8984d
|
@ -17,10 +17,10 @@ openerp.hr_attendance = function (instance) {
|
|||
});
|
||||
this.$(".oe_attendance_signin").click(function() {
|
||||
self.do_update_attendance();
|
||||
});
|
||||
}).tipsy();
|
||||
this.$(".oe_attendance_signout").click(function() {
|
||||
self.do_update_attendance();
|
||||
});
|
||||
}).tipsy();
|
||||
return this.check_attendance();
|
||||
},
|
||||
do_update_attendance: function () {
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
<template>
|
||||
<t t-name="AttendanceSlider">
|
||||
<div class="oe_attendance_status oe_attendance_nosigned">
|
||||
<div class="oe_attendance_signin"></div>
|
||||
<div class="oe_attendance_signout"></div>
|
||||
<div class="oe_attendance_signin" t-att-title="_t('You are currently signed out. Click here to sign in.')"></div>
|
||||
<div class="oe_attendance_signout" t-att-title="_t('You are currently signed in. Click here to sign out.')"></div>
|
||||
</div>
|
||||
</t>
|
||||
</template>
|
||||
|
|
Loading…
Reference in New Issue