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/layouts/_content.html.haml | 4 ++-- app/views/users/_overview.html.haml | 5 +++-- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/app/views/layouts/_content.html.haml b/app/views/layouts/_content.html.haml index b72b7c1..8e0bfbc 100644 --- a/app/views/layouts/_content.html.haml +++ b/app/views/layouts/_content.html.haml @@ -10,10 +10,10 @@ - if @show_navigation && @user .col-md-2 = render 'layouts/navigation' - .span10 + .col-md-10 = render 'layouts/messages' = content - else - .span12 + .col-md-12 = render 'layouts/messages' = content 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