Hide org/create menu item in Dashboard if user has no rights (#4678) (#4680)

release/v1.6
SagePtr 6 years ago committed by Lauris BH
parent 6e68b61479
commit a4fa6bbc89

@ -23,9 +23,11 @@
</a>
{{end}}
</div>
{{if .SignedUser.CanCreateOrganization}}
<a class="item" href="{{AppSubUrl}}/org/create">
<i class="octicon octicon-plus"></i>&nbsp;&nbsp;&nbsp;{{.i18n.Tr "new_org"}}
</a>
{{end}}
</div>
</div>
</div>

Loading…
Cancel
Save