[IMP] website_job: no job offer found message, better template, and fix type
bzr revid: chm@openerp.com-20140115160219-mqh0sx869zfwk1g7
This commit is contained in:
parent
57273279db
commit
52e4cb3f99
|
@ -100,7 +100,7 @@
|
|||
<div t-if="not blog_posts">
|
||||
<div class="text-center text-muted">
|
||||
<h3 class="css_editable_display">No blog post found</h3>
|
||||
<h3 class="css_non_editable_mode_hidden">There isn't available blog post right know, click <a t-href="/page/website.contactus">here</a> to contact us</h3>
|
||||
<h3 class="css_non_editable_mode_hidden">There isn't available blog post right now, click <a t-href="/page/website.contactus">here</a> to contact us</h3>
|
||||
<t groups="base.group_website_publisher">
|
||||
<p>Click on "Content" to define a new blog post or "Help" for more informations.</p>
|
||||
<img src="/website/static/src/img/content_here.png"/>
|
||||
|
|
|
@ -46,9 +46,9 @@
|
|||
<t t-if="not event_ids">
|
||||
<div class="text-center text-muted">
|
||||
<h3 class="css_editable_display">No event found</h3>
|
||||
<h3 class="css_non_editable_mode_hidden">There isn't available events right know, <t t-if="current_date or current_country or current_type">click <a t-href="/event">here</a> to check all events or</t> click <a t-href="/page/website.contactus">here</a> to contact us</h3>
|
||||
<h3 class="css_non_editable_mode_hidden">There isn't available events right now, <t t-if="current_date or current_country or current_type">click <a t-href="/event">here</a> to check all events or</t> click <a t-href="/page/website.contactus">here</a> to contact us</h3>
|
||||
<t groups="base.group_website_publisher">
|
||||
<p>Click on "Content" to define a new product or "Help" for more informations.</p>
|
||||
<p>Click on "Content" to define a new event or "Help" for more informations.</p>
|
||||
<img src="/website/static/src/img/content_here.png"/>
|
||||
<p>In the backend's event form contains information to customize your events: location, oranizer, tikets, registrations, etc.</p>
|
||||
</t>
|
||||
|
|
|
@ -23,7 +23,7 @@
|
|||
<t t-call="website.layout">
|
||||
<div id="wrap">
|
||||
<div class="oe_structure">
|
||||
<section data-snippet-id="text-block" class="mb32">
|
||||
<section data-snippet-id="text-block" class="mb16">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-md-12 text-center mb16" data-snippet-id="colmd">
|
||||
|
@ -51,11 +51,21 @@
|
|||
|
||||
<div class="container oe_website_jobs">
|
||||
<div class="row">
|
||||
<div class="col-md-1" id="jobs_grid_left">
|
||||
<div class="hidden" id="jobs_grid_left">
|
||||
|
||||
</div>
|
||||
<div class="col-md-9" id="jobs_grid">
|
||||
<ul class="media-list">
|
||||
<div class="col-md-12" id="jobs_grid">
|
||||
<div t-if="not jobs">
|
||||
<div class="text-center text-muted">
|
||||
<h4 class="css_editable_display">No job offer found</h4>
|
||||
<h4 class="css_non_editable_mode_hidden">There isn't job offer published now, click <a t-href="/page/website.contactus">here</a> to contact us</h4>
|
||||
<t groups="base.group_website_publisher">
|
||||
<p>Click on "Content" to define a new job offer or "Help" for more informations.</p>
|
||||
<img src="/website/static/src/img/content_here.png"/>
|
||||
</t>
|
||||
</div>
|
||||
</div>
|
||||
<ul class="media-list" t-if="jobs">
|
||||
<li t-foreach="jobs" t-as="job" class="media">
|
||||
<div class="media-body" t-att-data-publish="job.website_published and 'on' or 'off'">
|
||||
<h3 class="media-heading">
|
||||
|
@ -237,6 +247,9 @@
|
|||
<xpath expr="//div[@id='jobs_grid_left']" position="attributes">
|
||||
<attribute name="class">col-md-3</attribute>
|
||||
</xpath>
|
||||
<xpath expr="//div[@id='jobs_grid']" position="attributes">
|
||||
<attribute name="class">col-md-9</attribute>
|
||||
</xpath>
|
||||
</template>
|
||||
|
||||
<template id="job_offices" inherit_option_id="website_hr_recruitment.index" name="Filter by Offices">
|
||||
|
@ -257,6 +270,9 @@
|
|||
<xpath expr="//div[@id='jobs_grid_left']" position="attributes">
|
||||
<attribute name="class">col-md-3</attribute>
|
||||
</xpath>
|
||||
<xpath expr="//div[@id='jobs_grid']" position="attributes">
|
||||
<attribute name="class">col-md-9</attribute>
|
||||
</xpath>
|
||||
</template>
|
||||
|
||||
|
||||
|
|
|
@ -189,7 +189,7 @@
|
|||
<t t-if="not bins">
|
||||
<div class="text-center text-muted">
|
||||
<h3 class="css_editable_display">No product found</h3>
|
||||
<h3 class="css_non_editable_mode_hidden">There isn't available products right know, click <a t-href="/page/website.contactus">here</a> to contact us</h3>
|
||||
<h3 class="css_non_editable_mode_hidden">There isn't available products right now, click <a t-href="/page/website.contactus">here</a> to contact us</h3>
|
||||
<t groups="base.group_website_publisher">
|
||||
<p>Click on "Content" to define a new product or "Help" for more informations.</p>
|
||||
<img src="/website/static/src/img/content_here.png"/>
|
||||
|
|
Loading…
Reference in New Issue