summaryrefslogtreecommitdiffstats
path: root/templates/org/team/invite.tmpl
diff options
context:
space:
mode:
Diffstat (limited to 'templates/org/team/invite.tmpl')
-rw-r--r--templates/org/team/invite.tmpl28
1 files changed, 11 insertions, 17 deletions
diff --git a/templates/org/team/invite.tmpl b/templates/org/team/invite.tmpl
index 8d1fad0141..55ecd049b3 100644
--- a/templates/org/team/invite.tmpl
+++ b/templates/org/team/invite.tmpl
@@ -6,23 +6,17 @@
<div class="image">
{{avatar $.Context .Organization 140}}
</div>
- {{if .EmailMismatch}}
- <div class="content">
- <div class="header">{{.locale.Tr "org.teams.invite.email_mismatch"}}</div>
- </div>
- {{else}}
- <div class="content">
- <div class="header">{{.locale.Tr "org.teams.invite.title" .Team.Name .Organization.Name | Str2html}}</div>
- <div class="meta">{{.locale.Tr "org.teams.invite.by" .Inviter.Name}}</div>
- <div class="description">{{.locale.Tr "org.teams.invite.description"}}</div>
- </div>
- <div class="extra content">
- <form class="ui form" action="" method="post">
- {{.CsrfTokenHtml}}
- <button class="fluid ui green button">{{.locale.Tr "org.teams.join"}}</button>
- </form>
- </div>
- {{end}}
+ <div class="content">
+ <div class="header">{{.locale.Tr "org.teams.invite.title" .Team.Name .Organization.Name | Str2html}}</div>
+ <div class="meta">{{.locale.Tr "org.teams.invite.by" .Inviter.Name}}</div>
+ <div class="description">{{.locale.Tr "org.teams.invite.description"}}</div>
+ </div>
+ <div class="extra content">
+ <form class="ui form" action="" method="post">
+ {{.CsrfTokenHtml}}
+ <button class="fluid ui green button">{{.locale.Tr "org.teams.join"}}</button>
+ </form>
+ </div>
</div>
</div>
</div>