carlos / platform Public

Clone
git clone https://amadan.net/carlos/platform

Plain git — no account needed to clone.

Download

Download this file

1{{define "accountreviewbanner"}}{{if .AccountReview.Count}}
2<p class="banner">{{.AccountReview.SummaryText}}
3 <a href="{{.Nav}}/apps/{{.AppName}}/account-review">{{.MismatchCopy.Link}}</a>
4</p>
5{{else if .AccountReview.NoInstances}}
6<p class="banner">{{.MismatchCopy.NoInstances}}
7 <a href="{{.Nav}}/apps/{{.AppName}}/instances">Instances</a>
8</p>
9{{end}}{{end}}
10
11{{define "app_account_review"}}{{template "top" .}}
12{{template "appnav" .}}
13<h2>{{.MismatchCopy.Title}}</h2>
14<p>{{.MismatchCopy.Intro}}</p>
15{{if .AccountReview.Groups}}
16 {{range .AccountReview.Groups}}
17 <h3>{{.Account.Name}} (<code>{{.Account.Sqid}}</code>)</h3>
18 <ul>{{range .Hosts}}<li><code>{{.}}</code></li>{{end}}</ul>
19 {{end}}
20 {{if .Detail.AllMismatched}}<p>{{.MismatchCopy.Repairable}}</p>{{else if .AccountReview.Owned}}<p>{{.MismatchCopy.Partial}}</p>{{end}}
21{{else}}
22<p>{{.MismatchCopy.Empty}}</p>
23{{end}}
24{{template "bottom" .}}{{end}}
25