Add coloured tag for sticky comments.

This commit is contained in:
5225225
2016-01-07 23:22:23 +00:00
parent e5df17ce73
commit e7c910e8fc
3 changed files with 12 additions and 0 deletions

View File

@@ -163,6 +163,10 @@ class SubmissionPage(Page):
text, attr = self.term.guilded
self.term.add_line(win, text, attr=attr)
if data['stickied']:
text, attr = self.term.stickied
self.term.add_line(win, text, attr=attr)
for row, text in enumerate(data['split_body'], start=offset+1):
if row in valid_rows:
self.term.add_line(win, text, row, 1)