summaryrefslogtreecommitdiff
path: root/app
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
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')
-rw-r--r--app/views/layouts/_content.html.haml4
-rw-r--r--app/views/users/_overview.html.haml5
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))