diff --git a/pages/signup.tmpl b/pages/signup.tmpl index b0b9ffe..bc7f0f8 100644 --- a/pages/signup.tmpl +++ b/pages/signup.tmpl @@ -1,180 +1,180 @@ {{define "head"}}
{{.Error}}
{{ else }} {{if .Flashes}}This invite link is expired.
{{ else }}Copy the link below and send it to anyone that you want to join {{ .SiteName }}. You could paste it into an email, instant message, text message, or write it down on paper. Anyone who navigates to this special page will be able to create an account.
- +{{ if gt .Invite.MaxUses.Int64 0 }} {{if eq .Invite.MaxUses.Int64 1}}Only one user{{else}}Up to {{.Invite.MaxUses.Int64}} users{{end}} can sign up with this link. {{if gt .Invite.Uses 0}}So far, {{.Invite.Uses}} {{pluralize "person has" "people have" .Invite.Uses}} used it.{{end}} {{if .Invite.Expires}}It expires on {{.Invite.ExpiresFriendly}}.{{end}} {{ else }} It can be used as many times as you like{{if .Invite.Expires}} before {{.Invite.ExpiresFriendly}}, when it expires{{end}}. {{ end }}
{{ end }}Invite others to join {{.SiteName}} by generating and sharing invite links below.
| Link | Uses | Expires | |
|---|---|---|---|
| {{$.Host}}/invite/{{.ID}} | +{{$.Host}}{{subdir}}/invite/{{.ID}} | {{.Uses}}{{if gt .MaxUses.Int64 0}} / {{.MaxUses.Int64}}{{end}} | {{ if .Expires }}{{if .Expired}}Expired{{else}}{{.ExpiresFriendly}}{{end}}{{ else }}∞{{ end }} |
| No invites generated yet. | |||