summaryrefslogtreecommitdiff
path: root/addons/website_hr_recruitment/views
diff options
context:
space:
mode:
authorqsm-odoo <qsm@odoo.com>2018-06-07 16:04:21 +0200
committerqsm-odoo <qsm@odoo.com>2018-07-27 12:36:54 +0200
commit98c0fef0af4fae676583625ef0de3619bb197064 (patch)
tree38d2241dec518134f165a73ecd2f0b15b821308b /addons/website_hr_recruitment/views
parenta3cc9c2ad9b6db1e17000dbf825b2da082edd4f8 (diff)
[REF] *: BS4, review the 'media' structure
Only two classes remain to declare a media structure: 'media' and 'media-body'. 'media-left/right' are guessed by their position using the flex layout. Also, the 'media-list' class has been dropped but <ul/> element should use the 'list-unstyled' class instead. Like all other components, spacing between medias are now to be handled explicitely thanks the spacing utility classes.
Diffstat (limited to 'addons/website_hr_recruitment/views')
-rw-r--r--addons/website_hr_recruitment/views/website_hr_recruitment_templates.xml6
1 files changed, 3 insertions, 3 deletions
diff --git a/addons/website_hr_recruitment/views/website_hr_recruitment_templates.xml b/addons/website_hr_recruitment/views/website_hr_recruitment_templates.xml
index 12957493869..77f5ca9e4c0 100644
--- a/addons/website_hr_recruitment/views/website_hr_recruitment_templates.xml
+++ b/addons/website_hr_recruitment/views/website_hr_recruitment_templates.xml
@@ -38,10 +38,10 @@
</h4>
</div>
</div>
- <ul class="media-list" t-if="jobs">
- <li t-foreach="jobs" t-as="job" class="media">
+ <ul class="list-unstyled" t-if="jobs">
+ <li t-foreach="jobs" t-as="job" t-attf-class="media#{' mt-3' if job_index else ''}">
<div class="media-body" t-att-data-publish="job.website_published and 'on' or 'off'">
- <h3 class="media-heading">
+ <h3>
<a t-attf-href="/jobs/detail/#{ slug(job) }">
<span t-field="job.name"/>
</a>