internal/web/templates/accountdelete.html

v1.43.0
gitbay/internal/web/templates/accountdelete.html history · blame · raw

23 lines · 1000 bytes

 1{{define "width"}}bounded{{end}}
 2{{define "title"}}delete account · {{.Site}}{{end}}
 3{{define "content"}}
 4{{if .Scheduled}}
 5<h1>Deletion scheduled</h1>
 6<p>{{.User}} is disabled and will be deleted at {{when .Scheduled}}.</p>
 7<p class="meta">To cancel, <a href="/login">sign in</a> before then, or run any
 8command over SSH with a full-scope key.</p>
 9{{else if .User}}
10<h1>Delete {{.User}}</h1>
11<p>Confirming disables the account now and deletes it seven days later:
12its repositories, snippets, keys and addresses go, and what it wrote on
13other people's repositories stays under the name <code>ghost</code>.
14Signing in during those seven days cancels.</p>
15<form method="post">
16<p class="btngroup"><button type="submit" class="danger">Delete {{.User}}</button> <a href="/">Cancel</a></p>
17</form>
18{{else}}
19<h1>Link not valid</h1>
20<p class="meta">This deletion link has expired or was already used. Nothing
21has changed. Request a new one from <a href="/settings#delete">settings</a>.</p>
22{{end}}
23{{end}}