diff options
author | Unknwon <u@gogs.io> | 2017-02-23 14:09:43 -0500 |
---|---|---|
committer | Unknwon <u@gogs.io> | 2017-02-27 22:47:12 -0500 |
commit | 87f0ce793da616dfea3280bf37174642b05e0ce5 (patch) | |
tree | 2b967cde9f2cc30b9572a035301311e43f265ec4 /templates/user | |
parent | 25cf755f3082db7c35b329a5a7abf916150c13f8 (diff) |
repo: able to perform initial commit on behave of actual user
Diffstat (limited to 'templates/user')
-rw-r--r-- | templates/user/dashboard/dashboard.tmpl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/user/dashboard/dashboard.tmpl b/templates/user/dashboard/dashboard.tmpl index d2343972..5e862f99 100644 --- a/templates/user/dashboard/dashboard.tmpl +++ b/templates/user/dashboard/dashboard.tmpl @@ -18,7 +18,7 @@ <h4 class="ui top attached header"> {{.i18n.Tr "home.my_repos"}} <span class="ui grey label">{{.ContextUser.NumRepos}}</span> <div class="ui right"> - <a class="poping up" href="{{AppSubUrl}}/repo/create" data-content="{{.i18n.Tr "new_repo"}}" data-variation="tiny inverted" data-position="left center"> + <a class="poping up" href="{{AppSubUrl}}/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> <span class="sr-only">{{.i18n.Tr "new_repo"}}</span> </a> |