diff options
author | Unknown <joe2010xtmf@163.com> | 2014-05-08 12:24:11 -0400 |
---|---|---|
committer | Unknown <joe2010xtmf@163.com> | 2014-05-08 12:24:11 -0400 |
commit | e86728340654b18a657a65920c16e28a1b00cca7 (patch) | |
tree | 5ef13e753aef6fab75c78fac703945fe0938fd03 /templates/issue/create.tmpl | |
parent | a03f380fa86f83f35a5636535ec3002100b335bb (diff) | |
download | gitea-e86728340654b18a657a65920c16e28a1b00cca7.tar.gz gitea-e86728340654b18a657a65920c16e28a1b00cca7.zip |
Assignee back end
Diffstat (limited to 'templates/issue/create.tmpl')
-rw-r--r-- | templates/issue/create.tmpl | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/templates/issue/create.tmpl b/templates/issue/create.tmpl index 0306719c6e..6d08f69913 100644 --- a/templates/issue/create.tmpl +++ b/templates/issue/create.tmpl @@ -16,7 +16,7 @@ </div> <div class="form-group panel-body"> <span><strong id="assigned" data-no-assigned="No one">No one</strong> will be assigned</span> - <input type="hidden" name="assigned" value="0" id="assignee"/> + <input type="hidden" name="assigneeid" value="0" id="assignee"/> <div style="display: inline-block;position: relative"> <button type="button" class="dropdown-toggle btn btn-default btn-sm" data-toggle="dropdown"> <i class="fa fa-group"></i> @@ -25,7 +25,9 @@ <div class="dropdown-menu assignee"> <ul class="list-unstyled"> <li data-uid="0" class="clear-assignee hidden"><i class="fa fa-times-circle-o"></i> Clear assignee</li> - <li data-uid="123"><img src="//1.gravatar.com/avatar/f72f7454ce9d710baa506394f68f4132"><strong>fuxiaohei</strong> nickname</li> + {{range .Collaborators}} + <li data-uid="{{.Id}}"><img src="{{.AvatarLink}}"><strong>{{.Name}}</strong> {{.FullName}}</li> + {{end}} </ul> </div> </div> |