mirror of
https://github.com/RYGhub/royalnet.git
synced 2024-11-23 19:44:20 +00:00
Rename .entry to .diario
This commit is contained in:
parent
fc0e6e574c
commit
f598506550
2 changed files with 15 additions and 5 deletions
|
@ -949,7 +949,7 @@ img {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.entry {
|
.diario {
|
||||||
display: grid;
|
display: grid;
|
||||||
|
|
||||||
.left {
|
.left {
|
||||||
|
@ -966,7 +966,7 @@ img {
|
||||||
font-size: smaller;
|
font-size: smaller;
|
||||||
}
|
}
|
||||||
|
|
||||||
.entry-id {
|
.diario-id {
|
||||||
text-align: right;
|
text-align: right;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,13 +1,23 @@
|
||||||
<blockquote id="entry-{{ entry.id }}" class="entry {% if entry.spoiler %}spoiler{% endif %}">
|
<blockquote id="diario-{{ entry.id }}" class="diario {% if entry.spoiler %}spoiler{% endif %}">
|
||||||
<div class="left">
|
<div class="left">
|
||||||
<p>
|
<p>
|
||||||
<span class="text">{{ entry.to_html() | safe }}</span>
|
<span class="text">{{ entry.to_html() | safe }}</span>
|
||||||
</p>
|
</p>
|
||||||
<p>
|
<p>
|
||||||
<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>
|
<cite>—
|
||||||
|
{% if entry.author is not none %}
|
||||||
|
<a class="author known" 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>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
<div class="right">
|
<div class="right">
|
||||||
<a class="entry-id" href="{{ url_for("page_diario") }}#entry-{{ entry.id }}">#{{ entry.id }}</a>
|
<a class="diario-id" href="#diario-{{ entry.id }}">#{{ entry.id }}</a>
|
||||||
</div>
|
</div>
|
||||||
</blockquote>
|
</blockquote>
|
Loading…
Reference in a new issue