mirror of
https://github.com/redlib-org/redlib.git
synced 2025-05-14 05:52:53 +00:00
Fix and improve admin/mod distinguishers (#386)
* Fix regression with comments from deleted mods Starting with https://github.com/spikecodes/libreddit/pull/367/files comments from deleted moderators and admins(?) aren't highlighted. * Highlight mod and admin usernames in posts Works like on reddit + shows highlight for mods on the search page.
This commit is contained in:
parent
af6606a855
commit
91bff826f0
3 changed files with 3 additions and 3 deletions
|
@ -72,7 +72,7 @@
|
|||
{% endif -%}
|
||||
<a class="post_subreddit" href="/{{ community }}">{{ community }}</a>
|
||||
<span class="dot">•</span>
|
||||
<a class="post_author" href="/u/{{ post.author.name }}">u/{{ post.author.name }}</a>
|
||||
<a class="post_author {{ post.author.distinguished }}" href="/u/{{ post.author.name }}">u/{{ post.author.name }}</a>
|
||||
<span class="dot">•</span>
|
||||
<span class="created" title="{{ post.created }}">{{ post.rel_time }}</span>
|
||||
{% if !post.awards.is_empty() %}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue