add telegrams

This commit is contained in:
h00j
2021-03-12 21:51:42 +01:00
parent 8decd4f73f
commit 4ef7feabf2
9 changed files with 210 additions and 18 deletions

12
templates/important.html Normal file
View File

@@ -0,0 +1,12 @@
<div class="ban">
{% for telegram in telegrams %}
<div style="padding: 10px;">
<cite>{{ telegram.created_at|date(config.post_date) }}</cite>
<p>{{ telegram.message }}</p>
</div>
<hr>
{% endfor %}
<div style="padding:20px;text-align:center;">
<a href="{{ redirect }}">{%trans 'Return' %}</a>
</div>
</div>