From f31a9ae092da93cab1b3d6686e452f15a1fe1f93 Mon Sep 17 00:00:00 2001 From: Duda Nogueira Date: Wed, 6 Sep 2017 15:46:07 -0300 Subject: [PATCH] Confirm delete template: only show selection avatar paragraph when avatars are available. --- avatar/templates/avatar/confirm_delete.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/avatar/templates/avatar/confirm_delete.html b/avatar/templates/avatar/confirm_delete.html index f81c815..aad11a9 100644 --- a/avatar/templates/avatar/confirm_delete.html +++ b/avatar/templates/avatar/confirm_delete.html @@ -2,11 +2,11 @@ {% load i18n %} {% block content %} -

{% trans "Please select the avatars that you would like to delete." %}

{% if not avatars %} {% url 'avatar_change' as avatar_change_url %}

{% blocktrans %}You have no avatars to delete. Please upload one now.{% endblocktrans %}

{% else %} +

{% trans "Please select the avatars that you would like to delete." %}