summaryrefslogtreecommitdiff
path: root/addons/website_slides
diff options
context:
space:
mode:
authorForam Shah <fsh@odoo.com>2016-06-08 17:53:22 +0530
committerYannick Tivisse <yti@odoo.com>2016-06-14 16:23:50 +0200
commit052dcd3ee8d48ffa1da0579a650065f3ff07e312 (patch)
treee4fb2ecac7f545a8d2144d3e1a635bccb28053d7 /addons/website_slides
parent78b52fb637c0dbd68ca8089e048781a89e3efed5 (diff)
[IMP] web: 'Not Archived' becomes 'Active', 'Not published' becomes 'Unpublished'
Another reason why it’s better to change ‘not archived’ into ‘active’ is because ‘active’ is the functional name of this field in the filter list in list view. For the rest, it’s just a better en_US way of saying it.
Diffstat (limited to 'addons/website_slides')
-rw-r--r--addons/website_slides/controllers/main.py2
-rw-r--r--addons/website_slides/view/website_slides.xml2
2 files changed, 2 insertions, 2 deletions
diff --git a/addons/website_slides/controllers/main.py b/addons/website_slides/controllers/main.py
index 7c8593c48e7..cadb72a2145 100644
--- a/addons/website_slides/controllers/main.py
+++ b/addons/website_slides/controllers/main.py
@@ -171,7 +171,7 @@ class website_slides(http.Controller):
def slide_comment(self, slide, **post):
""" Controller for message_post. Public user can post; their name and
email is used to find or create a partner and post as admin with the
- right partner. Their comments are not published by default. Logged
+ right partner. Their comments are unpublished by default. Logged
users can post as usual. """
# TDE TODO :
# - subscribe partner instead of user writing the message ?
diff --git a/addons/website_slides/view/website_slides.xml b/addons/website_slides/view/website_slides.xml
index cab177361d2..47e572c0eaa 100644
--- a/addons/website_slides/view/website_slides.xml
+++ b/addons/website_slides/view/website_slides.xml
@@ -337,7 +337,7 @@
<a t-attf-href="/slides/slide/#{slug(slide)}">
<img t-attf-src="/web/image/slide.slide/#{slide.id}/image_thumb" class="img-responsive img-thumbnail oe_slides_grid_thumbnail"/>
</a>
- <span t-if="not slide.website_published" class="label label-danger" style="position: absolute;right: 20px;top: 7px;">Not Published</span>
+ <span t-if="not slide.website_published" class="label label-danger" style="position: absolute;right: 20px;top: 7px;">Unpublished</span>
<a t-if="not is_public_user and slide.website_published and slide.channel_id.promote_strategy == 'custom' and slide.channel_id.promoted_slide_id.id != slide.id"
groups="base.group_user"
t-attf-href="/slides/slide/#{slide.id}/promote"