mirror of
https://github.com/RYGhub/royalnet.git
synced 2024-11-23 19:44:20 +00:00
Update some pages 2
This commit is contained in:
parent
d364731f07
commit
553d658ce0
3 changed files with 8 additions and 5 deletions
|
@ -4,10 +4,10 @@
|
|||
<span class="text">{{ entry.text }}</span>
|
||||
</p>
|
||||
<p>
|
||||
<cite>— {% if entry.author is not none %}<a class="author" href="/profile/{{ 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>
|
||||
<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">
|
||||
<a class="entry-id" href="/diario#entry-{{ entry.id }}">#{{ entry.id }}</a>
|
||||
<a class="entry-id" href="{{ url_for("page_diario") }}#entry-{{ entry.id }}">#{{ entry.id }}</a>
|
||||
</div>
|
||||
</blockquote>
|
|
@ -14,7 +14,9 @@
|
|||
<div class="author">
|
||||
di <a href="/profile/{{ event.author.username }}">{{ event.author.username }}</a>
|
||||
</div>
|
||||
{% if event.description %}
|
||||
<div class="description">
|
||||
{{ (escape(event.description)).replace("\n", "<br>"|safe) }}
|
||||
</div>
|
||||
{% endif %}
|
||||
</div>
|
|
@ -59,6 +59,7 @@
|
|||
<li><a href="{{ url_for("page_music") }}">Statistiche su Royal Music</a></li>
|
||||
<li><a href="http://amazon.steffo.eu/royal-music-cache/">File in cache di Royal Music</a></li>
|
||||
<li><a href="{{ url_for("page_activity") }}">Statistiche sull'attività</a></li>
|
||||
<li><a href="https://github.com/Steffo99/royalnet">Codice sorgente di Royalnet</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
|
Loading…
Reference in a new issue