@ -44,12 +44,14 @@
<div v-show="tab === 'repos'" class="ui tab active list dashboard-repos">
<div v-show="tab === 'repos'" class="ui tab active list dashboard-repos">
<h4 class="ui top attached header">
<h4 class="ui top attached header">
{{.i18n.Tr "home.my_repos"}} <span class="ui grey label"> ${ reposTotalCount } </span>
{{.i18n.Tr "home.my_repos"}} <span class="ui grey label"> ${ reposTotalCount } </span>
{{if or (not .ContextUser.IsOrganization) .IsOrganizationOwner}}
<div class="ui right">
<div class="ui right">
<a class="poping up" :href="suburl + '/repo/create'" data-content="{{.i18n.Tr "new_repo"}}" data-variation="tiny inverted" data-position="left center">
<a class="poping up" :href="suburl + '/repo/create{{if .ContextUser.IsOrganization}}?org={{.ContextUser.ID}}{{end}} '" data-content="{{.i18n.Tr "new_repo"}}" 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_repo"}}</span>
<span class="sr-only">{{.i18n.Tr "new_repo"}}</span>
</a>
</a>
</div>
</div>
{{end}}
</h4>
</h4>
<div class="ui attached secondary segment repos-search">
<div class="ui attached secondary segment repos-search">
<div class="ui fluid icon input" :class="{loading: isLoading}">
<div class="ui fluid icon input" :class="{loading: isLoading}">