mirror of
https://github.com/reddit-archive/reddit.git
synced 2026-01-29 00:38:11 -05:00
gold partners: don't show "buy gold" buttons
There is already a large button at both the top and bottom of the list, there's no need to have one for every individual item as well.
This commit is contained in:
@@ -45,14 +45,10 @@
|
||||
<input class="code" type="text" value="${thing.existing_codes[name]}" readonly="readonly">
|
||||
%elif c.user.gold:
|
||||
<a class="claim-code-button" onclick="r.gold.claim_gold_partner_deal_code(this, '${name}')">${button_label or _('claim code')}</a>
|
||||
%else:
|
||||
<a class="claim-code-button" href="/gold">${_('buy reddit gold')}</a>
|
||||
%endif
|
||||
%elif button_dest:
|
||||
%if c.user.gold:
|
||||
<a class="claim-code-button" href="${button_dest}">${button_label or _('visit partner')}</a>
|
||||
%else:
|
||||
<a class="claim-code-button" href="/gold">${_('buy reddit gold')}</a>
|
||||
%endif
|
||||
%endif
|
||||
</%call>
|
||||
|
||||
Reference in New Issue
Block a user