This commit is contained in:
parent
5fc59be9a3
commit
dad70ad2a0
|
@ -1,5 +1,6 @@
|
||||||
{% extends "base.html" %}
|
{% extends "base.html" %}
|
||||||
{% load static %}
|
{% load static %}
|
||||||
|
{% load i18n %}
|
||||||
{% block title %}User {{ username }}{% endblock %}
|
{% block title %}User {{ username }}{% endblock %}
|
||||||
{% block content %}
|
{% block content %}
|
||||||
<div class="mb-3">
|
<div class="mb-3">
|
||||||
|
@ -12,7 +13,7 @@
|
||||||
{% for wish in wishes %}<li class="list-group-item">{{ wish.title }}</li>{% endfor %}
|
{% for wish in wishes %}<li class="list-group-item">{{ wish.title }}</li>{% endfor %}
|
||||||
</ul>
|
</ul>
|
||||||
{% else %}
|
{% else %}
|
||||||
<div class="alert alert-warning" role="alert">{{ user.username }} {% trans "has currently no wishes" %}!</div>
|
<div class="alert alert-warning" role="alert">{% trans "There are currently no wishes!" %}</div>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</div>
|
</div>
|
||||||
<div class="mb-3">
|
<div class="mb-3">
|
||||||
|
|
Loading…
Reference in a new issue