mirror of
https://github.com/go-gitea/gitea
synced 2024-11-09 19:54:25 +00:00
a370efc13f
Introduce `AvatarUtils`, no need to pass `$.Context` to every sub-template, and simplify the template helper functions.
24 lines
854 B
Handlebars
24 lines
854 B
Handlebars
{{template "base/head" .}}
|
|
<div role="main" aria-label="{{.Title}}" class="page-content organization invite">
|
|
<div class="ui container">
|
|
{{template "base/alert" .}}
|
|
<div class="ui centered card">
|
|
<div class="image">
|
|
{{ctx.AvatarUtils.Avatar .Organization 140}}
|
|
</div>
|
|
<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>
|
|
{{template "base/footer" .}}
|