summaryrefslogtreecommitdiff
path: root/users
diff options
context:
space:
mode:
authorjessib <jessib@riseup.net>2013-08-13 10:37:31 -0700
committerjessib <jessib@riseup.net>2013-08-13 10:37:31 -0700
commitd0a15a50e1fdf08f2283562453d4e803aa7b31c8 (patch)
tree422cabeee1629d823a91e3415d8abf53f44214aa /users
parent1bdf34b4bda5af84bd6df44d4e718ea19667682c (diff)
Option to disable billing engine and hide billing related links. To actual disable, must remove billing engine from Gemfile (and re-bundle)
Diffstat (limited to 'users')
-rw-r--r--users/app/views/overviews/show.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/users/app/views/overviews/show.html.haml b/users/app/views/overviews/show.html.haml
index c6b079d..e43a193 100644
--- a/users/app/views/overviews/show.html.haml
+++ b/users/app/views/overviews/show.html.haml
@@ -19,4 +19,4 @@
%li= icon('user') + link_to(t(:overview_account), edit_user_path(@user))
%li= icon('envelope') + link_to(t(:overview_email), edit_user_email_settings_path(@user))
%li= icon('question-sign') + link_to(t(:overview_tickets), user_tickets_path(@user))
- %li= icon('shopping-cart') + link_to(t(:overview_billing), show_or_new_customer_link(@user))
+ %li= icon('shopping-cart') + link_to(t(:overview_billing), show_or_new_customer_link(@user)) if engine_enabled('LeapWebBilling')