17 lines
545 B
Cheetah
17 lines
545 B
Cheetah
{{- define "title" }} Inventory++ Account {{ end }}
|
|
|
|
<h1>Account: {{ .Account.Email }}</h1>
|
|
|
|
{{- $etsyUser := .Etsy.GetUserPointerByAccountID .Account.ID }}
|
|
{{- if $etsyUser }}
|
|
<h3>Etsy User: {{ $etsyUser.UserID }}; Shop ID: {{ $etsyUser.ShopID }}</h3>
|
|
{{- else }}
|
|
<h3>
|
|
{{/* TODO: create this link dynamically, not EVERYTIME THE PAGE IS LOADED */}}
|
|
<a href="{{ .Etsy.GenerateConnectionURLForNewAccount .Account.ID }}">
|
|
Link Your Etsy Store!
|
|
</a>
|
|
</h3>
|
|
{{- end }}
|
|
<h2><a href="/accounts/{{.Account.ID}}/reports">View Reports</a></h2>
|