Browse Source
Update my_shift_website_templates.xml
12.0-macavrac-prod
Thibault Francois
4 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
3 deletions
-
beesdoo_website_shift/views/my_shift_website_templates.xml
|
|
@ -224,7 +224,7 @@ |
|
|
|
<t t-set="highlight_class" t-value="'panel-warning' if not has_enough_workers else 'panel-default'"/> |
|
|
|
<t t-set="need_super" t-value="shift.task_type_id.super_only" /> |
|
|
|
<t t-set="user_super" t-value="request.env.user.partner_id.super" /> |
|
|
|
<div t-att-class="'card mb-4 %s' % highlight_class" t-if="not need_super or need_super and (user_super)"> |
|
|
|
<div t-att-class="'card mb-4 %s' % highlight_class" t-if="not need_super or (need_super and user_super)"> |
|
|
|
<div t-att-class="'card-header %s clearfix' % highlight_header_class"> |
|
|
|
<div class="pull-left"> |
|
|
|
<span t-field="shift.start_time"/> |
|
|
@ -235,8 +235,6 @@ |
|
|
|
<t t-esc="count"/> |
|
|
|
space(s) |
|
|
|
</div> |
|
|
|
<t t-esc="need_super" /> |
|
|
|
<t t-esc="user_super" /> |
|
|
|
<div class="badge badge-secondary pull-right" t-if="count == 0"> |
|
|
|
full |
|
|
|
</div> |
|
|
|