[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.
This commit is contained in:
committed by
Yannick Tivisse
parent
78b52fb637
commit
052dcd3ee8
@@ -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 ?
|
||||
|
||||
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user