diff options
| author | Harry (OpenERP) <hmo@tinyerp.com> | 2012-05-07 19:17:44 +0530 |
|---|---|---|
| committer | Harry (OpenERP) <hmo@tinyerp.com> | 2012-05-07 19:17:44 +0530 |
| commit | b528bcb380bdfd939302eba6f652cd54c3f4fe25 (patch) | |
| tree | f4a29225f1d0367199f92d6cb49d8b3167b0dadd /addons/hr_attendance/static/src/xml | |
| parent | 32474d1e0101a544babbd20d98fc5939bd333a76 (diff) | |
[REVIEW] code review
bzr revid: hmo@tinyerp.com-20120507134744-bwxdsmqd92hl0o20
Diffstat (limited to 'addons/hr_attendance/static/src/xml')
| -rw-r--r-- | addons/hr_attendance/static/src/xml/attendance.xml | 11 | ||||
| -rw-r--r-- | addons/hr_attendance/static/src/xml/sign_in_out.xml | 28 |
2 files changed, 11 insertions, 28 deletions
diff --git a/addons/hr_attendance/static/src/xml/attendance.xml b/addons/hr_attendance/static/src/xml/attendance.xml new file mode 100644 index 00000000000..104a30530b8 --- /dev/null +++ b/addons/hr_attendance/static/src/xml/attendance.xml @@ -0,0 +1,11 @@ +<template> + <t t-name="AttendanceNotifier"> + <t t-if="action=='sign_in'"> + <img src="/hr_attendance/static/src/img/emp-in.png" class="oe_attendance_button"></img> + </t> + <t t-if="action=='sign_out'"> + <img src="/hr_attendance/static/src/img/emp-out.png" class="oe_attendance_button"></img> + </t> + + </t> +</template> diff --git a/addons/hr_attendance/static/src/xml/sign_in_out.xml b/addons/hr_attendance/static/src/xml/sign_in_out.xml deleted file mode 100644 index e28b93dfa6c..00000000000 --- a/addons/hr_attendance/static/src/xml/sign_in_out.xml +++ /dev/null @@ -1,28 +0,0 @@ -<template> - <t t-name="SignInOutNotifier"> - <div> - - </div> - </t> - <t t-name="SignInNotifier"> - <div class="oe_hr_sign_in" title="SignIn"> - <a class="sign_in" href="#"> - <img - src='/hr_attendance/static/src/img/emp-in.png' - width="30" - height="30"/> - </a> - </div> - </t> - - <t t-name="SignOutNotifier"> - <div class="oe_hr_sign_out" title="SignOut"> - <a class="sign_out" href="#"> - <img - src='/hr_attendance/static/src/img/emp-out.png' - width="30" - height="30"/> - </a> - </div> - </t> -</template>
\ No newline at end of file |
