Commit fdaffa8d authored by Mark Harding's avatar Mark Harding

(feat): Link to pro / payouts in earnings tab

1 merge request!590WIP: Epic/pro affiliate launch
Pipeline #89147193 pending with stages
......@@ -14,6 +14,12 @@
*ngIf="description$ | async as description"
>
{{ description }}
<ng-container *ngIf="(category$ | async) === 'earnings'">
<a *ngIf="!session.getLoggedInUser().pro" routerLink="/pro">Upgrade to PRO</a>
<a *ngIf="session.getLoggedInUser().pro && !(session.getLoggedInUser().merchant && session.getLoggedInUser().merchant['id'])"
routerLink="/wallet/usd"
>Enable payouts</a>.
</ng-container>
</p>
</div>
<div class="globalFilters">
......
......@@ -52,6 +52,12 @@
@include m-theme() {
color: themed($m-grey-300);
}
a {
@include m-theme() {
color: themed($m-blue);
}
text-decoration: none;
}
}
}
......
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