summaryrefslogtreecommitdiff
path: root/app/views/users/_overview.html.haml
diff options
context:
space:
mode:
authorAzul <azul@riseup.net>2017-03-27 19:38:37 +0200
committerAzul <azul@riseup.net>2017-03-27 19:38:37 +0200
commited9a3422aad09237e6563a475555c1ce198ae5ed (patch)
tree222b65f76982f4f304c424a1748ffddc47ba33d8 /app/views/users/_overview.html.haml
parentd53ff24edb72f35b710cb300738c330316475de5 (diff)
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.
Diffstat (limited to 'app/views/users/_overview.html.haml')
-rw-r--r--app/views/users/_overview.html.haml5
1 files changed, 3 insertions, 2 deletions
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))