Skip to content

Commit

Permalink
polish eyebonds.info link and pencil icon for tax status
Browse files Browse the repository at this point in the history
  • Loading branch information
rrelyea committed Jan 17, 2024
1 parent 9a19ad3 commit cca7a9d
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 3 deletions.
3 changes: 2 additions & 1 deletion Pages/AccountView.razor
Original file line number Diff line number Diff line change
Expand Up @@ -367,8 +367,9 @@
@if (account.SelectedInvestment.Ticker?.ToUpper() == "IBOND")
{
var ebURL = "https://eyebonds.info/ibonds/" + investment.CostBasis.ToString() + "/ib_" + investment.PurchaseDate?.Year + "_" + investment.PurchaseDate?.Month.ToString("D2") + ".html";
<span>&nbsp;</span><a href=@ebURL target=_new>eyebonds.info </a>
<span style='border:1.5pt solid;padding:3pt 2pt;margin:2pt'>&nbsp;<a href=@ebURL target=_new>eyebonds.info</a>&nbsp;↗️</span>
}

<br/><br/>
@* @((MarkupString)bold("Record Transaction:"))<br/>
<button @onclick='@(e=>buy(e,account,account.SelectedInvestment))'>Buy @account.SelectedInvestment.Ticker</button>
Expand Down
8 changes: 7 additions & 1 deletion Pages/Portfolio.razor
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,12 @@
@switch (step.step) {
case "people":
<td>
@if (!taxFilingStatusEditing)
{
<a @onclick=toggleTaxFilingStatusEditing style=margin:0px;padding:0px;width:20px class="m-0 btn" >✏️</a>
<span>&nbsp;</span>
}

@((MarkupString)bold("Tax Filing Status:"))
@if (!taxFilingStatusEditing) {
@if (appData.FamilyData.TaxFilingStatus != TaxFilingStatus.ChoiceNeeded) { <span>&nbsp;@appData.FamilyData.TaxFilingString</span> }
Expand All @@ -114,7 +120,7 @@
@if(appData.FamilyData.PersonCount > 1) {
<span>&nbsp;and @getPronoun(appData.FamilyData.People[1], false)</span>
}
<a @onclick=toggleTaxFilingStatusEditing style=margin:0px;padding:0px;width:20px class="m-2 btn" >✏️</a>

<br/><hr/>
} else {
<select @bind=appData.FamilyData.TaxFilingStatus>
Expand Down
2 changes: 1 addition & 1 deletion wwwroot/cache.manifest
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
CACHE MANIFEST

# Version 1.0126
# Version 1.0127

NETWORK:
*

0 comments on commit cca7a9d

Please sign in to comment.