13 lines
403 B
Cheetah
13 lines
403 B
Cheetah
{{- $acctID := .Identity.Account }}
|
|
|
|
{{- $etsyUser := .Etsy.GetUserPointerByAccountID $acctID.AccountID }}
|
|
{{- if $etsyUser }}
|
|
<h3>Etsy User: {{ $etsyUser.UserID }}; Shop ID: {{ $etsyUser.ShopID }}</h3>
|
|
{{- else }}
|
|
<h3 class="m-[0.5em] px-[2em] italic">
|
|
<a href="{{ printf "/api/webhooks/etsy/%d/new-account-link" $acctID.AccountID }}" hx-boost="false">
|
|
Link Your Store!
|
|
</a>
|
|
</h3>
|
|
{{- end }}
|