mirror of
https://github.com/reddit-archive/reddit.git
synced 2026-04-27 03:00:12 -04:00
comment.compact: Implement missing show replies contest mode functionality.
This commit is contained in:
@@ -587,6 +587,15 @@ a.author { margin-right: 0.5em; }
|
||||
|
||||
.linkflair { font-weight: normal; max-width: 10em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
||||
|
||||
.commentspacer {
|
||||
clear: both;
|
||||
}
|
||||
|
||||
.showreplies {
|
||||
padding: 0;
|
||||
margin-left: 40px;
|
||||
}
|
||||
|
||||
.notice-taken, .notice-available {
|
||||
display: none;
|
||||
line-height: 16px;
|
||||
|
||||
@@ -98,8 +98,15 @@
|
||||
%endif
|
||||
</div>
|
||||
</div>
|
||||
<div style="clear: both"></div>
|
||||
<div class="child">
|
||||
${thing.childlisting}
|
||||
</div>
|
||||
<div class="commentspacer"></div>
|
||||
%if thing.link.contest_mode and hasattr(thing, "child") and not thing.parent_id:
|
||||
<button class="showreplies newbutton"
|
||||
onclick="$(this).hide();$(this).parent().find('.noncollapsed').show();return false;">
|
||||
${_("show replies")}
|
||||
</button>
|
||||
<div class="child noncollapsed" style="display:none">
|
||||
%else:
|
||||
<div class="child">
|
||||
%endif
|
||||
${thing.childlisting}</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user