hanayo/templates/register/welcome.html

32 lines
1.5 KiB
HTML
Raw Permalink Normal View History

2019-02-23 13:29:15 +00:00
{{ define "tpl" }}
<div class="ui container">
<div class="ui segments">
{{/* Dirty hack to detect if it's a multi */}}
{{ if eq .TitleBar (.T "Welcome back!") }}
<div class="ui segment">
{{ .T "Congratulations for not reading things!" }}
</div>
<div class="ui center aligned segment">
2019-02-23 17:23:22 +00:00
<h1 class="ui heading">{{ .T "Multiaccounts are not allowed on Yozora" }}</h1>
2019-02-23 13:29:15 +00:00
</div>
<div class="ui segment">
2019-02-23 17:23:22 +00:00
{{ .T "Your new account has been <b>banned</b> and your main account has been <b>restricted</b>. You can appeal in a month by sending an email to <b><a href='mailto:support@yozora.pw'>support@yozora.pw</a></b>. You better read the rules next time." | html }}
2019-02-23 13:29:15 +00:00
</div>
{{ else }}
<div class="ui segment">
2019-02-23 17:23:22 +00:00
<h1 class="ui heading">{{ .T "Welcome to Yozora" }}</h1>
2019-02-23 13:29:15 +00:00
</div>
<div class="ui segment">
2019-02-23 17:23:22 +00:00
<p>{{ .T "We're glad to have you here. <b>Your account is now active.</b> You can now play on Yozora and <a href='/login'>log in</a> on the website!" | html }}</p>
2019-02-23 13:29:15 +00:00
<p>{{ .T "Here's a few things you might want to check out:" }}</p>
<ul class="ui list">
<li><b><a href="/login">{{ .T "Login" }}</a></b>{{ .T " - in case you don't know where to start" }}</li>
2019-02-23 17:23:22 +00:00
<li><b><a href="{{ .Conf.DiscordServer }}">{{ .T "Discord" }}</a></b>{{ .T " - in case you want to talk with people about Yozora" }}</li>
<li><b><a href="https://reddit.com/r/Yozora">{{ .T "Subreddit" }}</a></b>{{ .T " - just in case" }}</li>
2019-02-23 13:29:15 +00:00
</ul>
</div>
{{ end }}
</div>
</div>
{{ end }}