fix #1448
parent
ab9411be2a
commit
ff5f14431e
File diff suppressed because one or more lines are too long
@ -1 +1 @@ |
|||||||
0.7.15.1116 Beta |
0.7.16.1117 Beta |
@ -1,47 +1,44 @@ |
|||||||
{{template "ng/base/head" .}} |
{{template "base/head" .}} |
||||||
{{template "ng/base/header" .}} |
<div class="repository settings collaboration"> |
||||||
<div id="repo-wrapper"> |
{{template "repo/header" .}} |
||||||
{{template "repo/header_old" .}} |
<div class="ui container"> |
||||||
<div id="setting-wrapper" class="main-wrapper"> |
{{template "repo/sidebar" .}} |
||||||
<div id="repo-setting" class="container clear"> |
<div class="ui grid"> |
||||||
{{template "repo/settings/nav" .}} |
{{template "repo/settings/navbar" .}} |
||||||
<div class="grid-4-5 left"> |
<div class="twelve wide column content"> |
||||||
<div class="setting-content"> |
{{template "base/alert" .}} |
||||||
{{template "ng/base/alert" .}} |
<h4 class="ui top attached header"> |
||||||
<div id="setting-content"> |
{{.i18n.Tr "repo.settings.collaboration"}} |
||||||
<div id="user-profile-setting-content" class="panel panel-radius"> |
</h4> |
||||||
<div class="panel-header"> |
<div class="ui attached segment collaborator list"> |
||||||
<strong>{{.i18n.Tr "repo.settings.collaboration"}}</strong> |
{{range .Collaborators}} |
||||||
</div> |
<div class="item"> |
||||||
<div class="panel-body"> |
{{if not (eq .Id $.Owner.Id)}} |
||||||
<ul id="repo-collab-list"> |
<a href="{{$.RepoLink}}/settings/collaboration?remove={{.Name}}" class="ui right text red"><i class="fa fa-times"></i></a> |
||||||
{{range .Collaborators}} |
{{end}} |
||||||
<li class="collab"> |
<a href="{{AppSubUrl}}/{{.Name}}"> |
||||||
{{if not (eq .Id $.Owner.Id)}}<a href="{{$.RepoLink}}/settings/collaboration?remove={{.Name}}" class="remove-collab right"><i class="fa fa-times"></i></a>{{end}} |
<img class="ui avatar image" src="{{.AvatarLink}}"> |
||||||
<a class="member" href="{{AppSubUrl}}/{{.Name}}"> |
{{.DisplayName}} |
||||||
<img alt="{{.Name}}" class="pull-left avatar" src="{{.AvatarLink}}"> |
</a> |
||||||
<strong>{{.FullName}}</strong> ({{.Name}}) |
</div> |
||||||
</a> |
{{end}} |
||||||
</li> |
</div> |
||||||
<hr> |
<div class="ui bottom attached segment"> |
||||||
{{end}} |
<form class="ui form" id="repo-collab-form" action="{{.Link}}" method="post"> |
||||||
</ul> |
{{.CsrfTokenHtml}} |
||||||
</div> |
<div class="inline field ui left"> |
||||||
<div class="panel-footer"> |
<div id="search-user-box"> |
||||||
<form class="form form-align" action="{{.RepoLink}}/settings/collaboration" method="post" id="repo-collab-form"> |
<div class="ui input"> |
||||||
{{.CsrfTokenHtml}} |
<input class="prompt" name="collaborator" placeholder="{{.i18n.Tr "repo.settings.search_user_placeholder"}}" autocomplete="off"> |
||||||
<input class="ipt ipt-large ipt-radius" id="repo-collaborator" name="collaborator" autocomplete="off" required /> |
</div> |
||||||
<button class="btn btn-blue btn-large btn-radius">{{.i18n.Tr "repo.settings.add_collaborator"}}</button> |
<div class="ui segment results hide"></div> |
||||||
<div class="repo-user-list-block"> |
</div> |
||||||
<ul class="menu-down-show menu-vertical menu-radius switching-list user-list" id="repo-collaborator-list"></ul> |
</div> |
||||||
</div> |
<button class="ui green button">{{.i18n.Tr "repo.settings.add_collaborator"}}</button> |
||||||
</form> |
</form> |
||||||
</div> |
</div> |
||||||
</div> |
</div> |
||||||
</div> |
</div> |
||||||
</div> |
|
||||||
</div> |
|
||||||
</div> |
|
||||||
</div> |
</div> |
||||||
</div> |
</div> |
||||||
{{template "ng/base/footer" .}} |
{{template "base/footer" .}} |
Loading…
Reference in new issue