mirror of
https://github.com/reddit-archive/reddit.git
synced 2026-02-01 18:25:05 -05:00
Add "[score hidden]" marker
Includes tooltip with info about the length of the hide period
This commit is contained in:
@@ -109,8 +109,14 @@ ${parent.collapsed()}
|
||||
%if collapse and thing.collapsed and show:
|
||||
${thing.collapsed_reason}
|
||||
%else:
|
||||
%if show and not thing.score_hidden:
|
||||
${unsafe(self.score(thing, likes = thing.likes))} 
|
||||
%if show:
|
||||
%if thing.score_hidden:
|
||||
<span title="${_('this subreddit hides comment scores for %d minutes') % thing.subreddit.comment_score_hide_mins}">
|
||||
[${_("score hidden")}]
|
||||
</span> 
|
||||
%else:
|
||||
${unsafe(self.score(thing, likes = thing.likes))} 
|
||||
%endif
|
||||
%endif
|
||||
${thing_timestamp(thing, thing.timesince)} ${_("ago")}
|
||||
${edited(thing, thing.lastedited)}
|
||||
|
||||
Reference in New Issue
Block a user