Skip to content

Commit

Permalink
Merge pull request #156 from dudanogueira/master
Browse files Browse the repository at this point in the history
  • Loading branch information
jayvdb authored Aug 9, 2022
2 parents 114a154 + bc05f97 commit 862e4f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion avatar/templates/avatar/confirm_delete.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@
{% load i18n %}

{% block content %}
<p>{% trans "Please select the avatars that you would like to delete." %}</p>
{% if not avatars %}
{% url 'avatar_change' as avatar_change_url %}
<p>{% blocktrans %}You have no avatars to delete. Please <a href="{{ avatar_change_url }}">upload one</a> now.{% endblocktrans %}</p>
{% else %}
<p>{% trans "Please select the avatars that you would like to delete." %}</p>
<form method="POST" action="{% url 'avatar_delete' %}">
<ul>
{{ delete_avatar_form.as_ul }}
Expand Down

0 comments on commit 862e4f7

Please sign in to comment.