budgeteer/web/budget-sidebar.tpl

27 lines
824 B
Smarty

{{define "budget-sidebar"}}
<ul>
<li>Budget (Coming Soon)</li>
<li>Reports (Coming Soon)</li>
<li>All Accounts</li>
<li>
On-Budget Accounts
<ul class="two-valued">
{{range .Accounts}}
<li>
<a href="/budget/{{$.Budget.ID}}/account/{{.ID}}">{{.Name}}</a>
<span class="right">{{printf "%.2f" .Balance.GetFloat64}}</span>
</li>
{{end}}
</ul>
</li>
<li>
Off-Budget Accounts
</li>
<li>
Closed Accounts
</li>
<li>
+ Add Account
</li>
</ul>
{{end}}