summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorazul <azul@leap.se>2015-10-19 14:42:35 +0200
committerazul <azul@leap.se>2015-10-19 14:42:35 +0200
commit7f0d14921fa43b7029fd628805f2c821e26e7e24 (patch)
treebdc01dadcc2010db62b8e085513f7ed44fa4d215
parent04302654c223dba1c9a06922afaa7462966ea122 (diff)
parent32535294c974eb6ccbd2b7ed73a8bcb770cd91b3 (diff)
Merge pull request #204 from pixelated/fix_payment_check
[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?