mirror of
https://github.com/reddit-archive/reddit.git
synced 2026-01-26 23:39:11 -05:00
Gilded icon: link to subreddit gilded listing
This commit is contained in:
@@ -4,7 +4,7 @@ r.gold = {
|
||||
init: function () {
|
||||
$('div.content').on(
|
||||
'click',
|
||||
'a.give-gold, .gilded-comment-icon, .gold-payment .close-button',
|
||||
'a.give-gold, .gold-payment .close-button',
|
||||
$.proxy(this, '_toggleCommentGoldForm')
|
||||
)
|
||||
|
||||
|
||||
@@ -125,11 +125,13 @@ ${parent.collapsed()}
|
||||
%endif
|
||||
|
||||
% if thing.gilded_message:
|
||||
<span class="gilded-comment-icon" title="${thing.gilded_message}" data-count="${thing.gildings}">
|
||||
% if thing.gildings > 1:
|
||||
x${thing.gildings}
|
||||
% endif
|
||||
</span>
|
||||
<a href="${thing.subreddit_path}gilded">
|
||||
<span class="gilded-comment-icon" title="${thing.gilded_message}" data-count="${thing.gildings}">
|
||||
% if thing.gildings > 1:
|
||||
x${thing.gildings}
|
||||
% endif
|
||||
</span>
|
||||
</a>
|
||||
% endif
|
||||
|
||||
%if collapse:
|
||||
|
||||
Reference in New Issue
Block a user