add useremail field

This commit is contained in:
iou1name 2022-08-27 11:08:27 -04:00
parent 022e35e13c
commit ff7bb5e3e8
2 changed files with 5 additions and 4 deletions

View File

@ -41,6 +41,10 @@ body {
font-weight: bold;
}
.useremail > span {
color: darkblue;
}
.name {
color: darkgreen;
font-weight: bold;

View File

@ -53,10 +53,7 @@
{% if post.subject %}
<span class="subject">{{ post.subject }}</span>
{% endif %}
<span class="name">{{ post.name }}</span>
{% if post.tripcode %}
<span class="tripcode">{{ post.tripcode }}</span>
{% endif %}
{% if post.email %}<a class="useremail" href="{{ post.email }}">{% endif %}<span class="name">{{ post.name }}</span>{% if post.tripcode %} <span class="tripcode">{{ post.tripcode }}</span>{% endif %}{% if post.email %}</a>{% endif %}
<span class="time">{{ post.time.astimezone().strftime('%Y-%m-%d %H:%M') }}</span>
<span class="id">No.{{ post.id }}</span>
{% if backlinks.get(post.id) %}