Merge pull request #613 from woorst/mark_edited
Indicate edited submissions/comments.
This commit is contained in:
@@ -363,7 +363,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')
|
||||
@@ -434,7 +435,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_long}'.format(**data),
|
||||
attr=attr)
|
||||
|
||||
row = len(data['split_title']) + 2
|
||||
if data['url_full'] in self.config.history:
|
||||
|
||||
Reference in New Issue
Block a user