Merge pull request #416 from cmccandless/master
RE #415: Add '[S]' to submitter username on comments
This commit is contained in:
commit
e131c832ff
1 file changed
+4
-1
@@ -262,7 +262,10 @@ class SubmissionPage(Page):
|
||||
|
||||
attr = curses.A_BOLD
|
||||
attr |= (Color.BLUE if not data['is_author'] else Color.GREEN)
|
||||
self.term.add_line(win, '{author} '.format(**data), row, 1, attr)
|
||||
text = '{author} '.format(**data)
|
||||
if data['is_author']:
|
||||
text += '[S] '
|
||||
self.term.add_line(win, text, row, 1, attr)
|
||||
|
||||
if data['flair']:
|
||||
attr = curses.A_BOLD | Color.YELLOW
|
||||
|
||||
Reference in new issue
Block a user