diff options
author | Unknown <joe2010xtmf@163.com> | 2014-06-25 00:53:45 -0400 |
---|---|---|
committer | Unknown <joe2010xtmf@163.com> | 2014-06-25 00:53:45 -0400 |
commit | 8e6c254c03dc19cac3ff6dad39f73b1509b46fcf (patch) | |
tree | e7befc0fdc2b1311788dde551610f7971a8a2488 /templates/repo | |
parent | 3624b2a7f102364b75aca7998371c71cd04494fb (diff) | |
download | gitea-8e6c254c03dc19cac3ff6dad39f73b1509b46fcf.tar.gz gitea-8e6c254c03dc19cac3ff6dad39f73b1509b46fcf.zip |
Mirror fix on create repo
Diffstat (limited to 'templates/repo')
-rw-r--r-- | templates/repo/create.tmpl | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/templates/repo/create.tmpl b/templates/repo/create.tmpl index 0d1c42deee..fc0eb371bb 100644 --- a/templates/repo/create.tmpl +++ b/templates/repo/create.tmpl @@ -10,21 +10,26 @@ <div class="col-md-8"> <div class="btn-group" id="repo-owner-switch"> <button type="button" class="btn btn-default"> - <img src="//1.gravatar.com/avatar/f72f7454ce9d710baa506394f68f4132?s=28" alt="user-avatar" title="username"> - fuxiaohei + <img src="{{.SignedUser.AvatarLink}}?s=28" alt="user-avatar" title="username"> + {{.SignedUser.Name}} </button> <button type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown"> <span class="caret"></span> </button> <div class="dropdown-menu clone-group-btn no-propagation"> <ul id="dashboard-switch-menu" class="list-unstyled"> - <li class="checked"><a href="#"><i class="fa fa-check"></i> - <img src="//1.gravatar.com/avatar/f72f7454ce9d710baa506394f68f4132?s=28" alt="user-avatar" title="username"> - gogits/gogs</a></li> + <li data-uid="{{.SignedUser.Id}}" class="checked"> + <a href="#"> + <i class="fa fa-check"></i> + <img src="{{.SignedUser.AvatarLink}}?s=28" alt="user-avatar" title="username"> + {{.SignedUser.Name}} + </a> + </li> </ul> </div> </div> </div> + <input type="hidden" value="{{.SignedUserId}}" name="userId"/> <!--<div class="col-md-8"> <p class="form-control-static">{{.SignedUserName}}</p> |