|
|
@ -29,28 +29,30 @@ |
|
|
|
{{end}} |
|
|
|
{{end}} |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div class="ui three wide column center"> |
|
|
|
{{if not .PublicOnly}} |
|
|
|
<div class="meta"> |
|
|
|
<div class="ui three wide column center"> |
|
|
|
{{$.locale.Tr "org.members.member_role"}} |
|
|
|
<div class="meta"> |
|
|
|
</div> |
|
|
|
{{$.locale.Tr "org.members.member_role"}} |
|
|
|
<div class="meta"> |
|
|
|
</div> |
|
|
|
<strong>{{if index $.MembersIsUserOrgOwner .ID}}{{svg "octicon-shield-lock"}} {{$.locale.Tr "org.members.owner"}}{{else}}{{$.locale.Tr "org.members.member"}}{{end}}</strong> |
|
|
|
<div class="meta"> |
|
|
|
</div> |
|
|
|
<strong>{{if index $.MembersIsUserOrgOwner .ID}}{{svg "octicon-shield-lock"}} {{$.locale.Tr "org.members.owner"}}{{else}}{{$.locale.Tr "org.members.member"}}{{end}}</strong> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div class="ui two wide column center"> |
|
|
|
|
|
|
|
<div class="meta"> |
|
|
|
|
|
|
|
{{$.locale.Tr "admin.users.2fa"}} |
|
|
|
|
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div class="meta"> |
|
|
|
<div class="ui two wide column center"> |
|
|
|
<strong> |
|
|
|
<div class="meta"> |
|
|
|
{{if index $.MembersTwoFaStatus .ID}} |
|
|
|
{{$.locale.Tr "admin.users.2fa"}} |
|
|
|
<span class="text green">{{svg "octicon-check"}}</span> |
|
|
|
</div> |
|
|
|
{{else}} |
|
|
|
<div class="meta"> |
|
|
|
{{svg "octicon-x"}} |
|
|
|
<strong> |
|
|
|
{{end}} |
|
|
|
{{if index $.MembersTwoFaStatus .ID}} |
|
|
|
</strong> |
|
|
|
<span class="text green">{{svg "octicon-check"}}</span> |
|
|
|
|
|
|
|
{{else}} |
|
|
|
|
|
|
|
{{svg "octicon-x"}} |
|
|
|
|
|
|
|
{{end}} |
|
|
|
|
|
|
|
</strong> |
|
|
|
|
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
{{end}} |
|
|
|
<div class="ui three wide column"> |
|
|
|
<div class="ui three wide column"> |
|
|
|
<div class="text right"> |
|
|
|
<div class="text right"> |
|
|
|
{{if eq $.SignedUser.ID .ID}} |
|
|
|
{{if eq $.SignedUser.ID .ID}} |
|
|
|