Add payment link to profile menu

This commit is contained in:
Marcel Baumgartner 2023-10-19 00:41:00 +02:00
parent 6410846afc
commit b19208b3b0

View file

@ -2,6 +2,7 @@
@using Moonlight.App.Services @using Moonlight.App.Services
@inject IdentityService IdentityService @inject IdentityService IdentityService
@inject ConfigService ConfigService
@inject CookieService CookieService @inject CookieService CookieService
<div class="app-header"> <div class="app-header">
@ -57,6 +58,17 @@
</div> </div>
</div> </div>
<div class="separator my-2"></div> <div class="separator my-2"></div>
<div class="menu-item px-5">
<a href="/account/payments" class="menu-link px-5">
<span class="menu-badge">
<span class="badge badge-info fw-bold fs-7 badge-lg">@(ConfigService.Get().Store.Currency) @(IdentityService.CurrentUser.Balance)</span>
</span>
<span class="menu-text ms-3">
Payment
</span>
</a>
</div>
<div class="separator my-2"></div>
<div class="menu-item px-5"> <div class="menu-item px-5">
<a href="/account" class="menu-link px-5"> <a href="/account" class="menu-link px-5">
Account Account