Closed mikecreuzer closed 6 years ago
@mikecreuzer it is using a loop, and adding a class like so: bp_tournamentBanner bp_tournamentBanner--iconBanner bp_icon bp-gameLogo-7
Needs add-on update to support image for game. That way when there is no image in the db, we can set a default.
@mikecreuzer Can't don't have anything to check, so can't set a default logo
using this currently
<span class="bp_tournamentBanner bp_tournamentBanner--imageBanner" style="background-image: url(data/battlepro/tournament/banner-{$tournament.tournament_id}.jpg)"></span>
<xen:else />
<span class="bp_tournamentBanner bp_tournamentBanner--iconBanner bp_icon bp-gameLogo-{$tournament.game_id}"></span>
</xen:if>
it sets a default logo for games that have a logo uploaded, but no way to know if one is uploaded or not