Files
kredits-web/app/templates/budget.hbs
T
raucao 69ab4913aa Require connected account for adding reimbursement
Just in the UI, so nothing gets reloaded by accident later
2024-03-20 18:18:10 +01:00

55 lines
1.4 KiB
Handlebars

<main id="budget">
<div id="aside">
<section id="funds">
<header>
<h2>Community funds</h2>
</header>
<div class="content">
<BudgetBalances />
</div>
</section>
</div>
<div id="content">
{{#if this.reimbursementsUnconfirmed}}
<section id="expenses-unconfirmed">
<header class="with-nav">
<h2>Proposed Reimbursements</h2>
<nav>
<button title="Submit a reimbursement"
class="button small green"
{{on "click" this.addReimbursement}}>
add
</button>
</nav>
</header>
<div class="content">
<ReimbursementList @items={{this.reimbursementsUnconfirmed}} />
</div>
</section>
{{/if}}
{{#if this.reimbursementsConfirmed}}
<section id="expenses-confirmed">
<header class="with-nav">
<h2>Confirmed Reimbursements</h2>
<nav>
<button title="Submit a reimbursement"
class="button small green"
{{on "click" this.addReimbursement}}>
add
</button>
</nav>
</header>
<div class="content">
<ReimbursementList @items={{this.reimbursementsConfirmed}} />
</div>
</section>
{{/if}}
</div>
<div id="empty">
</div>
</main>