Make Stripe configurable

This commit is contained in:
2022-10-13 18:20:30 +01:00
parent e631811090
commit 1bf938c33e
6 changed files with 100 additions and 6 deletions

View File

@@ -201,10 +201,12 @@
<a class="navbar-item" href="{% url 'home' %}">
Home
</a>
{% if user.is_authenticated %}
<a class="navbar-item" href="{% url 'billing' %}">
Billing
</a>
{% if settings.STRIPE_ENABLED %}
{% if user.is_authenticated %}
<a class="navbar-item" href="{% url 'billing' %}">
Billing
</a>
{% endif %}
{% endif %}
{% if user.is_superuser %}
<div class="navbar-item has-dropdown is-hoverable">