|
@ -76,10 +76,12 @@ |
|
|
<h4 class="ui top attached header"> |
|
|
<h4 class="ui top attached header"> |
|
|
{{.i18n.Tr "home.my_orgs"}} <span class="ui grey label">{{.ContextUser.GetOrganizationCount}}</span> |
|
|
{{.i18n.Tr "home.my_orgs"}} <span class="ui grey label">{{.ContextUser.GetOrganizationCount}}</span> |
|
|
<div class="ui right"> |
|
|
<div class="ui right"> |
|
|
|
|
|
{{if .SignedUser.CanCreateOrganization}} |
|
|
<a class="poping up" href="{{AppSubUrl}}/org/create" data-content="{{.i18n.Tr "new_org"}}" data-variation="tiny inverted" data-position="left center"> |
|
|
<a class="poping up" href="{{AppSubUrl}}/org/create" data-content="{{.i18n.Tr "new_org"}}" data-variation="tiny inverted" data-position="left center"> |
|
|
<i class="plus icon"></i> |
|
|
<i class="plus icon"></i> |
|
|
<span class="sr-only">{{.i18n.Tr "new_org"}}</span> |
|
|
<span class="sr-only">{{.i18n.Tr "new_org"}}</span> |
|
|
</a> |
|
|
</a> |
|
|
|
|
|
{{end}} |
|
|
</div> |
|
|
</div> |
|
|
</h4> |
|
|
</h4> |
|
|
<div class="ui attached table segment"> |
|
|
<div class="ui attached table segment"> |
|
|