blob: 5db3b0064cf96a790f197e2699d99b35630f55ec (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
|
<?xml version="1.0" encoding="UTF-8"?>
<templates id="template" xml:space="preserve">
<t t-name="hr_resume_data_row">
<tr class="o_data_row" t-attf-class="o_data_row #{is_last? 'o_data_row_last' : ''}" t-att-data-id="id">
<t t-if="data.display_type === 'classic'">
<td class="o_resume_timeline_cell position-relative pr-lg-2">
<div class="rounded-circle bg-info position-relative"/>
</td>
<td class="o_data_cell pt-0 w-100">
<div class="o_resume_line" t-att-data-id="id">
<small class="o_resume_line_dates">
<b t-esc="data.date_start"/> - <b t-esc="data.date_end"/>
</small>
<h4 class="o_resume_line_title mt-2" t-esc="data.name"/>
<p t-if="data.description" class="o_resume_line_desc" t-esc="data.description"/>
</div>
</td>
</t>
</tr>
</t>
<t t-name="hr_trash_button">
<td class="o_list_record_remove pr-3">
<button name="delete" arial-label="Delete row" class="btn btn-secondary">
<i class="fa fa-trash"/>
</button>
</td>
</t>
<t t-name="hr_resume_group_row">
<tr class="o_resume_group_header">
<td class="o_group_name" colspan="100%"><span class="o_horizontal_separator my-0" t-esc="display_name"/></td>
</tr>
</t>
<t t-name="group_add_item">
<t t-set="empty" t-value="Object.keys(context).length == 2"/>
<div t-attf-class="o_field_x2many_list_row_add #{empty? 'd-block w-100' : 'd-inline pull-right'}">
<div t-if="empty" class="o_resume_empty_helper o_horizontal_separator text-muted my-0">
<em>Resumé empty</em>
</div>
<a href="#"
role="button"
t-attf-class="btn o-kanban-button-new #{empty? 'btn-primary mt-3' : 'btn-secondary btn-sm'}"
t-attf-data-context="{{ context }}">
<t t-if="empty">CREATE A NEW ENTRY</t>
<t t-else="">ADD</t>
</a>
</div>
</t>
</templates>
|