Files
slump-x-land-studio/templates/notices.html
T

17 lines
856 B
HTML

{% extends 'base.html' %}{% load slx_brand %}{% block title %}Fan activity · SLUMP X LAND{% endblock %}
{% block content %}
<main class="section article theme-account fan-notices">
<h1>Fan activity</h1>
<form method="post">{% csrf_token %}<button class="fan-button">Mark all read</button></form>
{% for item in notices %}
<article class="fan-comment notice-banner">
{% if item.art_url %}<img class="notice-art" src="{{ item.art_url }}" alt="" loading="lazy" decoding="async">{% endif %}
<a class="notice-link" href="{{ item.link }}">
<strong>{{ item.text|slx_brand }}</strong>{% if item.unread %}<span class="notice-new">New</span>{% endif %}
<time datetime="{{ item.date|date:'c' }}">{{ item.date|date:"M j, Y · g:i a T" }}</time>
</a>
</article>
{% empty %}<p>No activity yet.</p>{% endfor %}
</main>
{% endblock %}