Don't show flair button on promoted links.

This commit is contained in:
Logan Hanks
2012-04-18 11:22:53 -07:00
parent 13e191b65f
commit 2df78c4496

View File

@@ -66,7 +66,7 @@
%if thing.show_unmarknsfw:
<li>${ynbutton(_("un-nsfw"), _("unmarked"), "unmarknsfw")}</li>
%endif
%if c.site.link_flair_position and thing.show_flair:
%if not getattr(thing, 'promoted', None) and c.site.link_flair_position and thing.show_flair:
<li>
<a class="flairselectbtn" href="javascript://void(0)">${_('flair')}</a>
<div class="flairselector drop-choices"></div>