Implement handling callbacks

This commit is contained in:
2022-07-21 13:48:39 +01:00
parent 0b6f3ae129
commit 11b5eb50ec
14 changed files with 170 additions and 132 deletions

View File

@@ -1,4 +1,6 @@
{% load static %}
{% load has_plan %}
<!DOCTYPE html>
<html lang="en-GB">
<head>
@@ -32,7 +34,7 @@
{% if user.is_authenticated %}
<li><a href="{% url 'billing' %}">Billing</a></li>
{% endif %}
{% if user.paid %}
{% if user|has_plan:'drilldown' %}
<li><a href="{% url 'drilldown' %}">Drilldown</a></li>
{% endif %}
{% if not user.is_authenticated %}