Skip to content

Commit

Permalink
fix: colors for portfolio
Browse files Browse the repository at this point in the history
  • Loading branch information
howeyc committed Oct 14, 2023
1 parent a11f14e commit 915ccac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ledger/cmd/templates/template.portfolio.html
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ <h1>Portfolio {{.PortfolioName}}<span id="info" class="d-block d-sm-none"> - Ove
</thead>
<tbody>
{{range .Stocks}}
<tr {{if eq .Type "Total"}}class="bg-warning"{{end}}{{if eq .Type "Section Total"}}class="bg-info"{{end}}>
<tr {{if eq .Type "Total"}}class="table-warning"{{end}}{{if eq .Type "Section Total"}}class="table-info"{{end}}>
<td>{{.Name}}</td>
<td class="info-overall text-end">{{printf "%.2f" .Cost}}</td>
<td class="info-overall text-end">{{printf "%.2f" .MarketValue}}</td>
Expand Down

0 comments on commit 915ccac

Please sign in to comment.