From ed9a3422aad09237e6563a475555c1ce198ae5ed Mon Sep 17 00:00:00 2001 From: Azul Date: Mon, 27 Mar 2017 19:38:37 +0200 Subject: fix: bootstrap 3 style of menus span10 now is .col-??-10. ul.unstyled now is ul.list-unstyled also leave out unnecessary li if billing is disabled. --- app/views/users/_overview.html.haml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'app/views/users/_overview.html.haml') diff --git a/app/views/users/_overview.html.haml b/app/views/users/_overview.html.haml index e38fdc8..290fc3c 100644 --- a/app/views/users/_overview.html.haml +++ b/app/views/users/_overview.html.haml @@ -15,10 +15,11 @@ %p= t(:overview_intro, default: "") - %ul.unstyled + %ul.list-unstyled %li= icon('user') + link_to(t(".account"), edit_user_path(@user)) - # %li= icon('envelope') + link_to(t(:overview_email), {insert path for user identities, presuambly} %li= icon('question-sign') + link_to(t(".tickets"), user_tickets_path(@user)) - %li= icon('shopping-cart') + link_to(t(".billing"), billing_top_link(@user)) if APP_CONFIG[:billing] + - if APP_CONFIG[:billing] + %li= icon('shopping-cart') + link_to(t(".billing"), billing_top_link(@user)) -- cgit v1.2.3