dont use translation string in NamedButton

This commit is contained in:
spez
2008-11-07 15:15:31 -08:00
parent dfe4c35648
commit da64becc25
2 changed files with 3 additions and 3 deletions

View File

@@ -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,

View File

@@ -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;