this repo has no description
1{{define "title"}}knot{{end}}
2
3{{define "content"}}
4 <a href="/">back to timeline</a>
5 <a href="/knots">back to all knots</a>
6 <h1>{{.Registration.Domain}}</h1>
7 <p>
8 <code>
9 opened by: {{.Registration.ByDid}}
10 {{ if $.IsOwner }}
11 (you)
12 {{ end }}
13 </code><br>
14 <code>on: {{.Registration.Created}}</code><br>
15 {{ if .Registration.Registered }}
16 <code>registered on: {{.Registration.Registered}}</code>
17 {{ else }}
18 <code>pending registration</code>
19 <button hx-post="/knots/{{.Domain}}/init">initialize</button>
20 {{ end }}
21 </p>
22
23 {{ if .Registration.Registered }}
24 <h3> members </h3>
25 {{ range $.Members }}
26 <ol>
27 <li>{{.}}</li>
28 </ol>
29 {{ else }}
30 <p>no members</p>
31 {{ end }}
32 {{ end }}
33
34 {{ if $.IsOwner }}
35 <a href="/knots/{{.Registration.Domain}}/member">add member</a>
36 {{ end }}
37{{end}}