Debian Codegraph @

addons/hr_skills/static/src/components/internal_resume_lines/internal_resume_one2many.xml

raw
1 <?xml version="1.0" encoding="UTF-8"?>
2 <odoo>
3 <div t-name="hr_skills.InternalResumeLineComponent" class="internalResume o_list_view o_field_x2many o_field_x2many_list">
4 <div class="o_list_renderer o_renderer table-responsive" tabindex="-1">
5 <table class="o_list_table table table-sm table-hover position-relative mb-0 o_list_table_ungrouped table-striped mb-3 overflow-hidden o_skill_table table-borderless">
6 <thead style="visibility: collapse;">
7 <tr>
8 <th style="width: 32px; min-width: 32px;"></th>
9 <th class="w-100"></th>
10 <th style="width: 32px; min-width: 32px;"></th>
11 </tr>
12 </thead>
13 <tbody class="ui-sortable">
14 <t t-if="internalResumeLines.length">
15 <tr class="o_group_has_content o_group_header o_resume_group_header">
16 <th tabindex="-1" class="o_group_name" colspan="2">
17 <div class="d-flex align-items-center">
18 Experience - <t t-out="companyId"/>
19 </div>
20 </th>
21 </tr>
22 </t>
23 <t t-foreach="internalResumeLines" t-as="record" t-key="record.id">
24 <tr class="o_data_row">
25 <td class="o_resume_timeline_cell position-relative pe-lg-2">
26 <div class="rounded-circle bg-info position-relative"/>
27 </td>
28 <td class="o_data_cell pt-0">
29 <div t-attf-class="o_resume_line" t-att-data-id="id">
30 <small class="o_resume_line_dates fw-bold">
31 <t t-out="formatDate(record.date_start)"/>
32 -
33 <t t-if="record.date_end" t-out="formatDate(record.date_end)"/>
34 <t t-else="">
35 Current
36 </t>
37 </small>
38 <h4 class="o_resume_line_title mt-2" t-esc="record.job_title"/>
39 </div>
40 </td>
41 </tr>
42 </t>
43 </tbody>
44 </table>
45 <t t-if="!haveResumeLines">
46 <div name="no_resume_line" class="ms-4 mt-3 text-muted fst-italic oe_inline">
47 <p>
48 There are no resume lines on this employee.
49 </p>
50 </div>
51 </t>
52 </div>
53 </div>
54 </odoo>