Wiadomości
{% if messages %}
{% for komunikat in messages %}
- {{ komunikat|capfirst }}
{% endfor %}
{% endif %}
Lista wiadomości:
{% for wiadomosc in wiadomosci %}
-
{{ wiadomosc.autor.username }} ({{ wiadomosc.data_pub }}):
{{ wiadomosc.tekst }}
{% if wiadomosc.autor.username == user.username %}
• Edytuj
• Usuń
{% endif %}
{% endfor %}
{% if is_paginated %}
{% if page_obj.has_previous %}
Poprzednie
{% endif %}
Strona {{ page_obj.number }} z {{ page_obj.paginator.num_pages }}.
{% if page_obj.has_next %}
Następne
{% endif %}
{% endif %}
Strona główna