Gilded icon: link to subreddit gilded listing

This commit is contained in:
Chad Birch
2013-10-08 14:44:50 -06:00
parent 0d9d2c111a
commit a74c8a4ba1
2 changed files with 8 additions and 6 deletions

View File

@@ -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')
)

View File

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