mirror of
https://github.com/reddit-archive/reddit.git
synced 2026-01-31 09:48:01 -05:00
Make SideBox.show_cover take effect properly.
It appears this functionality broke when the cover functionality was switched over to the "login-reqired" class.
This commit is contained in:
@@ -25,14 +25,14 @@
|
||||
<div class="sidebox ${thing.css_class}">
|
||||
<div class="morelink">
|
||||
${plain_link(thing.title, thing.link, _sr_path=thing.sr_path,
|
||||
_class='login-required', nocname=thing.nocname)}
|
||||
_class='login-required' if thing.show_cover else None, nocname=thing.nocname)}
|
||||
<div class="nub"> </div>
|
||||
</div>
|
||||
|
||||
%if thing.subtitles:
|
||||
<div class="spacer">
|
||||
${plain_link('', thing.link, _sr_path=thing.sr_path,
|
||||
_class='login-required', nocname=thing.nocname)}
|
||||
_class='login-required' if thing.show_cover else None, nocname=thing.nocname)}
|
||||
%for subtitle in thing.subtitles:
|
||||
<div class="subtitle">${subtitle}</div>
|
||||
%endfor
|
||||
|
||||
Reference in New Issue
Block a user