mirror of
https://codeberg.org/forgejo/forgejo
synced 2024-12-12 22:41:59 +01:00
fb45bf231e
* Add main aria landmark to templates
* Adjust some titles to improve understanding of location in navigation
Contributed by @Forgejo
(cherry picked from commit e6a557cae3
)
23 lines
838 B
Handlebars
23 lines
838 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">
|
|
{{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" .}}
|