Hide empty sections in budget
This commit is contained in:
@@ -48,6 +48,7 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="content">
|
<div id="content">
|
||||||
|
{{#if this.reimbursementsUnconfirmed}}
|
||||||
<section id="expenses-unconfirmed">
|
<section id="expenses-unconfirmed">
|
||||||
<header>
|
<header>
|
||||||
<h2>Proposed Reimbursements</h2>
|
<h2>Proposed Reimbursements</h2>
|
||||||
@@ -56,7 +57,9 @@
|
|||||||
<ReimbursementList @items={{this.reimbursementsUnconfirmed}} />
|
<ReimbursementList @items={{this.reimbursementsUnconfirmed}} />
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
|
{{/if}}
|
||||||
|
|
||||||
|
{{#if this.reimbursementsConfirmed}}
|
||||||
<section id="expenses-confirmed">
|
<section id="expenses-confirmed">
|
||||||
<header>
|
<header>
|
||||||
<h2>Confirmed Expenses</h2>
|
<h2>Confirmed Expenses</h2>
|
||||||
@@ -65,6 +68,7 @@
|
|||||||
<ReimbursementList @items={{this.reimbursementsConfirmed}} />
|
<ReimbursementList @items={{this.reimbursementsConfirmed}} />
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
|
{{/if}}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="empty">
|
<div id="empty">
|
||||||
|
|||||||
Reference in New Issue
Block a user