summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFolker Bernitt <fbernitt@thoughtworks.com>2015-10-19 13:37:34 +0200
committerFolker Bernitt <fbernitt@thoughtworks.com>2015-10-19 13:37:34 +0200
commit32535294c974eb6ccbd2b7ed73a8bcb770cd91b3 (patch)
treebdc01dadcc2010db62b8e085513f7ed44fa4d215
parent04302654c223dba1c9a06922afaa7462966ea122 (diff)
[bug] Only show donation if payment present
-rw-r--r--app/views/layouts/_footer.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/layouts/_footer.html.haml b/app/views/layouts/_footer.html.haml
index 3bba21f..ff84dff 100644
--- a/app/views/layouts/_footer.html.haml
+++ b/app/views/layouts/_footer.html.haml
@@ -15,4 +15,4 @@
= link_to icon('comment') + t(:contact), contact_path
- if paid_service_level?
= link_to icon('shopping-cart') + t(:pricing), pricing_path
- = link_to icon('barcode') + t(:Donations), new_payment_path
+ = link_to icon('barcode') + t(:Donations), new_payment_path if APP_CONFIG[:payment].present?