We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 397474e commit 2cf80f4Copy full SHA for 2cf80f4
templates/user/dashboard/dashboard.tmpl
@@ -76,10 +76,12 @@
76
<h4 class="ui top attached header">
77
{{.i18n.Tr "home.my_orgs"}} <span class="ui grey label">{{.ContextUser.GetOrganizationCount}}</span>
78
<div class="ui right">
79
+ {{if .SignedUser.CanCreateOrganization}}
80
<a class="poping up" href="{{AppSubUrl}}/org/create" data-content="{{.i18n.Tr "new_org"}}" data-variation="tiny inverted" data-position="left center">
81
<i class="plus icon"></i>
82
<span class="sr-only">{{.i18n.Tr "new_org"}}</span>
83
</a>
84
+ {{end}}
85
</div>
86
</h4>
87
<div class="ui attached table segment">
0 commit comments