summaryrefslogtreecommitdiff
path: root/addons/website_profile/views/website_profile.xml
diff options
context:
space:
mode:
authormcm-odoo <mcm@odoo.com>2019-10-07 07:44:26 +0000
committermcm-odoo <mcm@odoo.com>2019-10-18 13:04:08 +0000
commitb29d0385add752f5e0d0749cb5a19401a093e5db (patch)
treee1b88daac61361abf077b80f0e981bb9c6398d50 /addons/website_profile/views/website_profile.xml
parentaebc8911f0493f67f92c894345c65f2d3e1d7451 (diff)
[IMP] website_slides: add call to actions in user profile
Before this task, when the user arrived on his profile, some empty sections didn't had any call to actions task-2080615 closes odoo/odoo#38029 Signed-off-by: Thibault Delavallee (tde) <tde@openerp.com>
Diffstat (limited to 'addons/website_profile/views/website_profile.xml')
-rw-r--r--addons/website_profile/views/website_profile.xml10
1 files changed, 5 insertions, 5 deletions
diff --git a/addons/website_profile/views/website_profile.xml b/addons/website_profile/views/website_profile.xml
index ccd86b662c6..629119b98d0 100644
--- a/addons/website_profile/views/website_profile.xml
+++ b/addons/website_profile/views/website_profile.xml
@@ -376,12 +376,12 @@
</t>
</t>
</div>
- <div class="mb-3" t-if="not user.badge_ids">
- <p class="text-muted">No badge yet</p>
+ <div class="mb-3 d-inline-block" t-if="not user.badge_ids">
+ <p class="text-muted">No badges yet!</p>
</div>
- <div class="text-right">
- <a t-if="not user.badge_ids and badge_category" t-attf-href="/profile/ranks_badges?badge_category=#{badge_category}"><i class="fa fa-arrow-right"/> Check available badges</a>
- <a t-else="" href="/profile/ranks_badges" class="btn btn-link btn-sm"><i class="fa fa-arrow-right mr-1"/>Check all available badges</a>
+ <div class="text-right d-inline-block pull-right">
+ <a t-if="not user.badge_ids and badge_category" t-attf-href="/profile/ranks_badges?badge_category=#{badge_category}" class="btn btn-link btn-sm"><i class="fa fa-arrow-right"/> All Badges</a>
+ <a t-else="" href="/profile/ranks_badges" class="btn btn-link btn-sm"><i class="fa fa-arrow-right mr-1"/>All Badges</a>
</div>
</template>