Initial commit: Hr packages

This commit is contained in:
Ernad Husremovic 2025-08-29 15:20:50 +02:00
commit 62531cd146
2820 changed files with 1432848 additions and 0 deletions

View file

@ -0,0 +1,28 @@
<?xml version="1.0" encoding="utf-8"?>
<templates id="template" xml:space="preserve">
<t t-inherit="hr_skills.ResumeListRenderer.RecordRow" t-inherit-mode="extension">
<xpath expr="//t[@id='row']" position='after'>
<t t-if="data.display_type === 'course'">
<td t-on-click="(ev) => this.onCellClicked(record, null, ev)"
class="o_data_cell container" colspan="2">
<div class="o_resume_line row" t-att-data-id="id">
<div class="o_resume_line_dates col-lg-3">
<span><t t-out="formatDate(data.date_end)"/></span>
</div>
<div class="o_resume_line_desc col-lg-8">
<h3>
<t t-esc="data.name"/>
<a t-attf-href="#{data.course_url}" t-if="data.course_url"
style="font-size: 1rem;"
class="ms-2 fa fa-external-link btn-secondary"/>
</h3>
<t t-if="data.description" class="o_resume_line_desc" t-out="data.description"/>
</div>
</div>
</td>
</t>
</t>
</t>
</templates>

View file

@ -0,0 +1,6 @@
.o_resume_line {
.o_resume_line_icon.icon_circle {
color: $o-enterprise-primary-color;
vertical-align: middle;
}
}

View file

@ -0,0 +1,26 @@
<?xml version="1.0" encoding="UTF-8"?>
<templates id="template" xml:space="preserve">
<t t-extend="hr_resume_data_row">
<t t-jquery="tr.o_data_row" t-operation="append">
<t t-if="data.display_type === 'course'">
<td class="o_data_cell container" colspan="2">
<div class="o_resume_line row" t-att-data-id="id">
<div class="o_resume_line_dates col-lg-3">
<span><t t-esc="data.date_end"/></span>
</div>
<div class="o_resume_line_desc col-lg-8">
<h3>
<t t-esc="data.name"/>
<a t-attf-href="#{data.course_url}" t-if="data.course_url"
style="font-size: 1rem;"
class="ms-2 fa fa-external-link btn-secondary"/>
</h3>
<t t-if="data.description" t-esc="data.description"/>
</div>
</div>
</td>
</t>
</t>
</t>
</templates>