updated accounts page: display user info and list shops
This commit is contained in:
@@ -0,0 +1 @@
|
||||
<em>Coming soon!</em>
|
||||
@@ -0,0 +1 @@
|
||||
<em>Coming soon!</em>
|
||||
@@ -0,0 +1,2 @@
|
||||
|
||||
<em>Coming soon!</em>
|
||||
@@ -0,0 +1,2 @@
|
||||
|
||||
<em>Coming soon!</em>
|
||||
@@ -0,0 +1,13 @@
|
||||
{{- $acctID := .Identity.Account }}
|
||||
|
||||
{{- $etsyUser := .Etsy.GetUserPointerByAccountID $acctID.AccountID }}
|
||||
{{- 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="{{ printf "/webhooks/etsy/%d/new-account-link" $acctID.AccountID }}">
|
||||
Link Your Etsy Store!
|
||||
</a>
|
||||
</h3>
|
||||
{{- end }}
|
||||
@@ -0,0 +1,2 @@
|
||||
|
||||
<em>Coming soon!</em>
|
||||
+2
@@ -0,0 +1,2 @@
|
||||
|
||||
<em>Coming soon!</em>
|
||||
@@ -0,0 +1,2 @@
|
||||
|
||||
<em>Coming soon!</em>
|
||||
@@ -0,0 +1 @@
|
||||
<em>Coming soon!</em>
|
||||
+2
@@ -0,0 +1,2 @@
|
||||
|
||||
<em>Coming soon!</em>
|
||||
@@ -0,0 +1 @@
|
||||
<em>Coming soon!</em>
|
||||
+2
@@ -0,0 +1,2 @@
|
||||
|
||||
<em>Coming soon!</em>
|
||||
@@ -0,0 +1,2 @@
|
||||
|
||||
<em>Coming soon!</em>
|
||||
Reference in New Issue
Block a user