leftypol_vichan/templates/announcements.html
PupperWoff 4017822218 Added Feature - Announcements - Create announcements that is displayed on "top" of the site (last n entries) and in a full list in seperate page
Re-written to not require JavaScript or cookies to view or edit.

Co-Authored-By: Discomrade <nice@try.fbi>
2023-01-13 20:55:31 -01:00

21 lines
534 B
HTML

<table class="announcements" id="announcements">
<thead>
<tr>
<td colspan="2">&nbsp;</td>
</tr>
</thead>
<tbody id="announcements-body">
{% for announcement in announcements %}
<tr>
<td class="announcement-date">{{ announcement.date_formated }}</td><td class="announcement-content">{{ announcement.text }}</td>
</tr>
{% endfor %}
</tbody>
<tfoot>
<tr>
<td colspan="2">
<span id="announcements-show-all">[<a href="/announcements.html" target="_blank">Show All</a>]</span>
</td>
</tr>
</tfoot>
</table>