Make Stripe optional

This commit is contained in:
2022-10-13 18:20:30 +01:00
parent 22df27178b
commit e3fc0317a3
6 changed files with 113 additions and 19 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">