diff options
| author | Christophe Matthieu <chm@openerp.com> | 2014-01-15 17:02:19 +0100 |
|---|---|---|
| committer | Christophe Matthieu <chm@openerp.com> | 2014-01-15 17:02:19 +0100 |
| commit | 52e4cb3f99cb545b91c5e48b697d3e9b22a885d6 (patch) | |
| tree | 7ee234b7fd7066926d863839c1de2ea2697823d2 | |
| parent | 57273279db8e6121d2faf54ccf7d825833f5b3f8 (diff) | |
[IMP] website_job: no job offer found message, better template, and fix type
bzr revid: chm@openerp.com-20140115160219-mqh0sx869zfwk1g7
4 files changed, 24 insertions, 8 deletions
diff --git a/addons/website_blog/views/website_blog_templates.xml b/addons/website_blog/views/website_blog_templates.xml index e334ee75b1a..306266472aa 100644 --- a/addons/website_blog/views/website_blog_templates.xml +++ b/addons/website_blog/views/website_blog_templates.xml @@ -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"/> diff --git a/addons/website_event/views/website_event.xml b/addons/website_event/views/website_event.xml index 80bd5828a6f..1fdbaf1cbe3 100644 --- a/addons/website_event/views/website_event.xml +++ b/addons/website_event/views/website_event.xml @@ -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> diff --git a/addons/website_hr_recruitment/views/website_hr_recruitment.xml b/addons/website_hr_recruitment/views/website_hr_recruitment.xml index 7bbfdef9b03..ef669aaa324 100644 --- a/addons/website_hr_recruitment/views/website_hr_recruitment.xml +++ b/addons/website_hr_recruitment/views/website_hr_recruitment.xml @@ -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> diff --git a/addons/website_sale/views/website_sale.xml b/addons/website_sale/views/website_sale.xml index 422950b80d1..0c014ea1664 100644 --- a/addons/website_sale/views/website_sale.xml +++ b/addons/website_sale/views/website_sale.xml @@ -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"/> |
