Browse Source

Mirror fix on create repo

pull/267/head
Unknown 11 years ago
parent
commit
8e6c254c03
  1. 15
      templates/repo/create.tmpl

15
templates/repo/create.tmpl

@ -10,21 +10,26 @@
<div class="col-md-8"> <div class="col-md-8">
<div class="btn-group" id="repo-owner-switch"> <div class="btn-group" id="repo-owner-switch">
<button type="button" class="btn btn-default"> <button type="button" class="btn btn-default">
<img src="//1.gravatar.com/avatar/f72f7454ce9d710baa506394f68f4132?s=28" alt="user-avatar" title="username"> <img src="{{.SignedUser.AvatarLink}}?s=28" alt="user-avatar" title="username">
fuxiaohei {{.SignedUser.Name}}
</button> </button>
<button type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown"> <button type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown">
<span class="caret"></span> <span class="caret"></span>
</button> </button>
<div class="dropdown-menu clone-group-btn no-propagation"> <div class="dropdown-menu clone-group-btn no-propagation">
<ul id="dashboard-switch-menu" class="list-unstyled"> <ul id="dashboard-switch-menu" class="list-unstyled">
<li class="checked"><a href="#"><i class="fa fa-check"></i> <li data-uid="{{.SignedUser.Id}}" class="checked">
<img src="//1.gravatar.com/avatar/f72f7454ce9d710baa506394f68f4132?s=28" alt="user-avatar" title="username"> <a href="#">
gogits/gogs</a></li> <i class="fa fa-check"></i>
<img src="{{.SignedUser.AvatarLink}}?s=28" alt="user-avatar" title="username">
{{.SignedUser.Name}}
</a>
</li>
</ul> </ul>
</div> </div>
</div> </div>
</div> </div>
<input type="hidden" value="{{.SignedUserId}}" name="userId"/>
<!--<div class="col-md-8"> <!--<div class="col-md-8">
<p class="form-control-static">{{.SignedUserName}}</p> <p class="form-control-static">{{.SignedUserName}}</p>

Loading…
Cancel
Save