Commit 77f92a98 authored by Curtis Adam's avatar Curtis Adam Committed by Tom Käsler

Adjust the layout of the "Join bonus" button

parent b7937d7e
<template name="cardsetInfoBoxItemBonusButton">
{{#if canJoinBonus}}
<tr>
<td colspan="2">
<a class="btn btn-raised btn-block btn-success" data-toggle="modal"
data-target="{{#if isProfileCompleted}}#joinBonusModal{{else}}#profileIncompleteModal{{/if}}">{{_
"bonus.info.button.join"}}</a>
</td>
</tr>
{{/if}}
{{#if isInBonus}}
<tr>
<td colspan="2">
<a class="btn btn-raised btn-block btn-danger" data-toggle="modal"
data-target="#leaveBonusModal">{{_
"bonus.info.button.leave"}}</a>
</td>
</tr>
{{#if isActiveRoute regex='cardsetdetailsid|cardsetcard'}}
{{#if canJoinBonus}}
<tr>
<td colspan="2">
<a class="col-xs-12 btn btn-raised btn-block btn-success" data-toggle="modal"
data-target="{{#if isProfileCompleted}}#joinBonusModal{{else}}#profileIncompleteModal{{/if}}">{{_
"bonus.info.button.join"}}</a>
</td>
</tr>
{{/if}}
{{#if isInBonus}}
<tr>
<td colspan="2">
<a class="col-xs-12 btn btn-raised btn-block btn-danger" data-toggle="modal"
data-target="#leaveBonusModal">{{_
"bonus.info.button.leave"}}</a>
</td>
</tr>
{{/if}}
{{/if}}
</template>
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment