1
Fork 0
mirror of https://github.com/RYGhub/royalnet.git synced 2024-12-17 23:24:20 +00:00
royalnet/templates/minis/ryg.html
2019-02-14 21:34:49 +01:00

64 lines
2 KiB
HTML

<div class="game-panel">
<div class="game-grid ryg role-{{ record.role }}">
<div class="username">
<a href="{{ url_for("page_profile", name=record.username) }}">{{ record.username }}</a>
</div>
{% if record.special_title %}
<div class="special-title">
{{ record.special_title }}
</div>
{% endif %}
{% if record.username == "Steffo" %}
<div class="join-date-title steffo">
Admin dall'
</div>
<div class="join-date steffo">
inizio!
</div>
{% elif record.member_since %}
<div class="join-date-title member">
{{ record.role }} dal
</div>
<div class="join-date member">
{{ record.member_since.isoformat() }}
</div>
{% else %}
<div class="join-date-title unknown">
{{ record.role }} dal
</div>
<div class="join-date unknown" title="Data di unione sconosciuta">
?
</div>
{% endif %}
{% if record.wiki_edits|length > 0 %}
<div class="wiki-edits-title">
Contributi wiki
</div>
<div class="wiki-edits">
{{ record.wiki_edits|length }}
</div>
{% else %}
<div class="wiki-edits-title unknown">
Contributi wiki
</div>
<div class="wiki-edits unknown">
---
</div>
{% endif %}
{% if record.fiorygi > 0 %}
<div class="fiorygi-title">
Fiorygi
</div>
<div class="fiorygi">
{{ record.fiorygi }}
</div>
{% else %}
<div class="fiorygi-title unknown">
Fiorygi
</div>
<div class="fiorygi unknown">
---
</div>
{% endif %}
</div>
</div>