diff options
| author | Thibault Delavallée <tde@openerp.com> | 2013-09-30 16:33:57 +0200 |
|---|---|---|
| committer | Thibault Delavallée <tde@openerp.com> | 2013-09-30 16:33:57 +0200 |
| commit | 857f255d95e2a7ac9e9dbc87dfccdae4cb255e1b (patch) | |
| tree | e7ce39bdbdb2ae9c14da7eee687a6d0a2e2e8f7f /addons/website_mail/views/website_mail.xml | |
| parent | 7a174cac95bc040e4f482dc6f55de30479227752 (diff) | |
[IMP] website_mail, website_blog: improved follow / unfollow (always display email, more visible)
bzr revid: tde@openerp.com-20130930143357-0r61uikrf8nx92fg
Diffstat (limited to 'addons/website_mail/views/website_mail.xml')
| -rw-r--r-- | addons/website_mail/views/website_mail.xml | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/addons/website_mail/views/website_mail.xml b/addons/website_mail/views/website_mail.xml index 8070bd97fbf..f1618ce44d2 100644 --- a/addons/website_mail/views/website_mail.xml +++ b/addons/website_mail/views/website_mail.xml @@ -6,9 +6,12 @@ <a href="#" t-att-data-id="object.id" t-att-data-object="object._name" t-att-data-follow="object.id and object.message_is_follower and 'on' or 'off'" class="pull-right js_follow" t-if="editable" t-ignore="true"> <span t-attf-class="label label-success css_follow">Follow</span> <span t-attf-class="label label-danger css_unfollow">Unfollow</span> - <span t-attf-class="label label-success css_followed">Followed</span> - <span t-attf-class="label label-danger css_unfollowed">Unfollowed</span> + <span t-attf-class="label label-success css_followed">Following</span> + <span t-attf-class="label label-danger css_unfollowed">Not Following</span> </a> + <input type="email" name="email" class="js_follow_email css_unfollowed_email" + t-att-value="email" + t-att-placeholder="email or 'Email Address'"/> </template> <template id="website.layout" inherit_id="website.layout"> |
