mirror of
https://github.com/reddit-archive/reddit.git
synced 2026-01-28 08:17:58 -05:00
dont use translation string in NamedButton
This commit is contained in:
@@ -651,10 +651,10 @@ class SubredditTopBar(Wrapped):
|
||||
drop_down_buttons.append(SubredditButton(sr))
|
||||
|
||||
#leaving the 'home' option out for now
|
||||
#drop_down_buttons.insert(0, NamedButton(_('home'), sr_path = False,
|
||||
#drop_down_buttons.insert(0, NamedButton('home', sr_path = False,
|
||||
# css_class = 'top-option',
|
||||
# dest = '/'))
|
||||
drop_down_buttons.append(NamedButton(_('edit'), sr_path = False,
|
||||
drop_down_buttons.append(NamedButton('edit', sr_path = False,
|
||||
css_class = 'bottom-option',
|
||||
dest = '/reddits/'))
|
||||
self.sr_dropdown = SubredditMenu(drop_down_buttons,
|
||||
|
||||
@@ -1647,7 +1647,7 @@ ul#image-preview-list .description pre {
|
||||
.dropdown.srdrop .selected {
|
||||
background: transparent url(/static/droparrowwhite.gif) no-repeat scroll center right;
|
||||
display: inline-block;
|
||||
vertical-align: text-bottom;
|
||||
vertical-align: bottom;
|
||||
padding-right: 21px;
|
||||
padding-left: 5px; /* have to use padding instead of margin cause of ie */
|
||||
color: white;
|
||||
|
||||
Reference in New Issue
Block a user