1
Fork 0
mirror of https://github.com/RYGhub/royalnet.git synced 2024-12-05 01:04:21 +00:00
royalnet/templates/components/diarioentry.html

13 lines
920 B
HTML
Raw Normal View History

2018-07-23 20:21:52 +00:00
<blockquote id="entry-{{ entry.id }}" class="entry {% if entry.spoiler %}spoiler{% endif %}">
<div class="left">
<p>
<span class="text">{{ entry.to_html() | safe }}</span>
</p>
<p>
2019-01-03 14:15:28 +00:00
<cite>— {% if entry.author is not none %}<a class="author" href="{{ url_for("page_profile", name=entry.author.royal.username) }}">{{ entry.author.royal.username }}</a>{% else %}<span class="author anonymous">Anonimo</span>{% endif %}, <span class="timestamp">{{ entry.timestamp.strftime('%Y-%m-%d %H:%M:%S %Z') }}</span> {% if entry.saver is not none and entry.saver != entry.author %}<span class="saver">(salvato da <a href="/profile/{{ entry.saver.royal.username }}">{{ entry.saver.royal.username }}</a>)</span>{% endif %}</cite>
</p>
</div>
<div class="right">
2019-01-03 14:15:28 +00:00
<a class="entry-id" href="{{ url_for("page_diario") }}#entry-{{ entry.id }}">#{{ entry.id }}</a>
</div>
</blockquote>