package templates import ( "fmt" "time" "git.preston-baxter.com/Preston_PLB/capstone/frontend-service/db/models" ) templ DashboardPage(user *models.User, vendorAccounts []models.VendorAccount) { @Head("Dashboard")
{ secondaryVal } { subtitle }
{ key } | }
---|
{ val } | }
Name | Status |
---|---|
No accounts are available. Click + to add one | |
{ vendor.Name } | if vendor.OauthCredentials != nil && vendor.OauthCredentials.AccessToken != "" && vendor.OauthCredentials.ExpiresAt.Before(time.Now()) { Active } else { } |