From 1705bfd6ead0194cca1d74b20638971416b61c19 Mon Sep 17 00:00:00 2001 From: nyaazi Date: Sat, 20 May 2017 21:53:23 +0300 Subject: [PATCH] Using the url_for function --- nyaa/templates/layout.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/nyaa/templates/layout.html b/nyaa/templates/layout.html index dcefdf8..0b50d53 100644 --- a/nyaa/templates/layout.html +++ b/nyaa/templates/layout.html @@ -72,12 +72,12 @@
  • RSS
  • {% if config.SITE_FLAVOR == 'nyaa' %}
  • Fap
  • - {% if g.user.is_admin %} -
  • Reports
  • - {% endif %} {% elif config.SITE_FLAVOR == 'sukebei' %}
  • Fun
  • {% endif %} + {% if g.user.is_admin %} +
  • Reports
  • + {% endif %}