Make messages from user as subreddit more visually distinct.

Previously they looked like a regular message sent from the current
user. Now they indicate they are sent via a subreddit.
This commit is contained in:
Brian Simpson
2014-12-05 19:23:57 -05:00
parent d2fa4b5364
commit eb0cdbf25c

View File

@@ -1640,7 +1640,7 @@ class Message(Thing, Printable):
"subreddit message via %(subreddit)s sent %(when)s")
elif user_is_sender:
item.taglinetext = _(
"to %(dest)s sent %(when)s")
"to %(dest)s via %(subreddit)s sent %(when)s")
else:
item.taglinetext = _(
"to %(dest)s from %(author)s via %(subreddit)s sent"