Implement handling callbacks
This commit is contained in:
@@ -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 %}
|
||||
|
||||
Reference in New Issue
Block a user