Indicate edited submissions/comments.

This commit is contained in:
woorst
2018-09-27 22:03:52 -04:00
parent 1ddd392d92
commit f68a9a8ef5
3 changed files with 9 additions and 3 deletions

View File

@@ -340,7 +340,8 @@ class SubmissionPage(Page):
attr = self.term.attr('Created')
self.term.add_space(win)
self.term.add_line(win, '{created}'.format(**data), attr=attr)
self.term.add_line(win, '{created}{edited}'.format(**data),
attr=attr)
if data['gold']:
attr = self.term.attr('Gold')
@@ -411,7 +412,8 @@ class SubmissionPage(Page):
attr = self.term.attr('Created')
self.term.add_space(win)
self.term.add_line(win, '{created_long}'.format(**data), attr=attr)
self.term.add_line(win, '{created_long}{edited}'.format(**data),
attr=attr)
row = len(data['split_title']) + 2
if data['url_full'] in self.config.history: