From acd1d23e7c9f5f8b304e425aa7d55f0bc40fb322 Mon Sep 17 00:00:00 2001 From: Son NK Date: Sat, 16 Nov 2019 22:58:09 +0100 Subject: [PATCH] add "premium" next to name if user is premium --- templates/header.html | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/templates/header.html b/templates/header.html index d79d0b76..bb17cebe 100644 --- a/templates/header.html +++ b/templates/header.html @@ -31,7 +31,12 @@ {% endif %} - {{ current_user.name }} + + {{ current_user.name }} + {% if current_user.is_premium() %} + - Premium + {% endif %} + {{ current_user.email }} @@ -44,13 +49,13 @@ {% if current_user.is_premium() %} Billing - + {% endif %} Sign out - +