From a55fac9b5eab04f6ae2190d49c2680377ebff206 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Felipe=20Mart=C3=ADn?= Date: Fri, 11 Sep 2015 21:49:58 +0200 Subject: [PATCH] Fixed problem with button for unregistered users --- amiibofindr/static/less/style.less | 4 ---- .../templates/amiibo/widgets/relation_header_buttons.html | 6 +++--- 2 files changed, 3 insertions(+), 7 deletions(-) diff --git a/amiibofindr/static/less/style.less b/amiibofindr/static/less/style.less index b7489fc..e2a80c8 100644 --- a/amiibofindr/static/less/style.less +++ b/amiibofindr/static/less/style.less @@ -10,10 +10,6 @@ } } -.hidden { - display: none; -} - .underlined { text-decoration: underline; } diff --git a/amiibofindr/templates/amiibo/widgets/relation_header_buttons.html b/amiibofindr/templates/amiibo/widgets/relation_header_buttons.html index f4a4870..c255341 100644 --- a/amiibofindr/templates/amiibo/widgets/relation_header_buttons.html +++ b/amiibofindr/templates/amiibo/widgets/relation_header_buttons.html @@ -1,7 +1,7 @@ {% load i18n %} -
+
{% if user.is_authenticated %} {% if amiibo.pk in USER_AMIIBO_OWNED %} -