Add user tripcodes

Users can separate their name and a password with ## to create the
illusion of consistent posting.

Signed-off-by: Alek Ratzloff <alekratz@gmail.com>
This commit is contained in:
2022-07-20 00:28:02 -07:00
parent 8f4b6d7aea
commit c53111ea60
6 changed files with 54 additions and 7 deletions

View File

@@ -24,10 +24,9 @@
{% if post.subject %}
<span class="post_subject">{{post.subject}}</span>
{% endif %}
{% blocktranslate with post_name=post.name|default:"Anonymous" %}
by
<span class="post_name">{{post_name}}</span>
{% endblocktranslate %}
{# No spaces between the name and the tripcode #}
<span class="post_name">{{post.name|default:"Anonymous"}}</span>{% if post.tripcode %}<span class="post_tripcode">!!{{post.tripcode}}</span>{% endif %}
{% if post.capcode %}
<span class="post_capcode" style="color: {{post.capcode.color}};">{{post.capcode}}</span>
{% endif %}