From f5bc4c66be1170c3185525994ab1d146a37ccf70 Mon Sep 17 00:00:00 2001 From: Nick Sergeant Date: Mon, 4 Feb 2013 22:01:29 -0500 Subject: [PATCH] Don't show tags list if user doesn't have any. --- snipts/templates/snipts/tags-user.html | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/snipts/templates/snipts/tags-user.html b/snipts/templates/snipts/tags-user.html index cc06ee3..59e9cfb 100644 --- a/snipts/templates/snipts/tags-user.html +++ b/snipts/templates/snipts/tags-user.html @@ -2,12 +2,14 @@ {% if request.user == user %} View favorited snipts » {% endif %} -

{{ user.username }}'s tags

- + {% if tags %} +

{{ user.username }}'s tags

+ + {% endif %}