summaryrefslogtreecommitdiffstats
path: root/templates/repo/create.tmpl
diff options
context:
space:
mode:
authorUnknown <joe2010xtmf@163.com>2014-06-25 03:55:59 -0400
committerUnknown <joe2010xtmf@163.com>2014-06-25 03:55:59 -0400
commit4cf7a1fca5ed22c4d46317477e6feab324fb337e (patch)
treef5fb6de2e5957ff3bbafbfadbf7e93ed83e74d8b /templates/repo/create.tmpl
parent80be0607350411662e0fc9b46e11388f5bb6cb54 (diff)
downloadgitea-4cf7a1fca5ed22c4d46317477e6feab324fb337e.tar.gz
gitea-4cf7a1fca5ed22c4d46317477e6feab324fb337e.zip
Mirror update on create repo page
Diffstat (limited to 'templates/repo/create.tmpl')
-rw-r--r--templates/repo/create.tmpl11
1 files changed, 10 insertions, 1 deletions
diff --git a/templates/repo/create.tmpl b/templates/repo/create.tmpl
index c3ba89aefc..3288b736ca 100644
--- a/templates/repo/create.tmpl
+++ b/templates/repo/create.tmpl
@@ -19,12 +19,21 @@
<div class="dropdown-menu clone-group-btn no-propagation">
<ul id="dashboard-switch-menu" class="list-unstyled">
<li data-uid="{{.SignedUser.Id}}" class="checked">
- <a href="#">
+ <a>
<i class="fa fa-check"></i>
<img src="{{.SignedUser.AvatarLink}}?s=28" alt="user-avatar" title="username">
{{.SignedUser.Name}}
</a>
</li>
+ {{range .Orgs}}
+ <li data-uid="{{.Id}}">
+ <a>
+ <i class="fa fa-check"></i>
+ <img src="{{.AvatarLink}}?s=28" alt="user-avatar" title="username">
+ {{.Name}}
+ </a>
+ </li>
+ {{end}}
</ul>
</div>
</div>