From ff7bb5e3e8fef6c16081713be9960cb50732e2d6 Mon Sep 17 00:00:00 2001 From: iou1name Date: Sat, 27 Aug 2022 11:08:27 -0400 Subject: [PATCH] add useremail field --- static/voyage.css | 4 ++++ templates/thread.html | 5 +---- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/static/voyage.css b/static/voyage.css index 467e907..0eebdd6 100644 --- a/static/voyage.css +++ b/static/voyage.css @@ -41,6 +41,10 @@ body { font-weight: bold; } +.useremail > span { + color: darkblue; +} + .name { color: darkgreen; font-weight: bold; diff --git a/templates/thread.html b/templates/thread.html index 8b90846..5853473 100644 --- a/templates/thread.html +++ b/templates/thread.html @@ -53,10 +53,7 @@ {% if post.subject %} {{ post.subject }} {% endif %} - {{ post.name }} - {% if post.tripcode %} - {{ post.tripcode }} - {% endif %} + {% if post.email %}{% endif %}{{ post.name }}{% if post.tripcode %} {{ post.tripcode }}{% endif %}{% if post.email %}{% endif %} {{ post.time.astimezone().strftime('%Y-%m-%d %H:%M') }} No.{{ post.id }} {% if backlinks.get(post.id) %}