moved gold symbol on submission view to match subreddit view

This commit is contained in:
Tobin
2015-04-04 00:00:16 -05:00
parent a6fda5f9ab
commit b0124560be

View File

@@ -223,10 +223,6 @@ class SubmissionPage(BasePage):
text = clean(u' {created} {subreddit}'.format(**data)) text = clean(u' {created} {subreddit}'.format(**data))
win.addnstr(text, n_cols - win.getyx()[1]) win.addnstr(text, n_cols - win.getyx()[1])
if data['gold']:
text, attr = GOLD, (curses.A_BOLD | Color.YELLOW)
win.addnstr(text, n_cols - win.getyx()[1], attr)
row = len(data['split_title']) + 2 row = len(data['split_title']) + 2
attr = curses.A_UNDERLINE | Color.BLUE attr = curses.A_UNDERLINE | Color.BLUE
text = clean(u'{url}'.format(**data)) text = clean(u'{url}'.format(**data))
@@ -248,4 +244,8 @@ class SubmissionPage(BasePage):
text = clean(u'{score} {comments} '.format(**data)) text = clean(u'{score} {comments} '.format(**data))
win.addnstr(row, 1, text, n_cols, curses.A_BOLD) win.addnstr(row, 1, text, n_cols, curses.A_BOLD)
if data['gold']:
text, attr = GOLD, (curses.A_BOLD | Color.YELLOW)
win.addnstr(text, n_cols - win.getyx()[1], attr)
win.border() win.border()