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:
Chad Birch
2013-06-20 21:12:19 -06:00
parent dded823364
commit b9ddfde0bc

View File

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