diff options
author | Unknwon <u@gogs.io> | 2015-08-15 11:24:41 +0800 |
---|---|---|
committer | Unknwon <u@gogs.io> | 2015-08-15 11:24:41 +0800 |
commit | 4ce003dc15eb4a283b9cc4b19e4a5e2de0b1b89f (patch) | |
tree | d191526511f64342b1d64dd7ca8beb8455402e60 /templates/repo/issue/new_form.tmpl | |
parent | a24141ec9cc1f47f89469a4ba1c1f583474d38db (diff) | |
download | gitea-4ce003dc15eb4a283b9cc4b19e4a5e2de0b1b89f.tar.gz gitea-4ce003dc15eb4a283b9cc4b19e4a5e2de0b1b89f.zip |
Filter issues by assignee
Diffstat (limited to 'templates/repo/issue/new_form.tmpl')
-rw-r--r-- | templates/repo/issue/new_form.tmpl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/repo/issue/new_form.tmpl b/templates/repo/issue/new_form.tmpl index 79e3dd09de..41228afd2f 100644 --- a/templates/repo/issue/new_form.tmpl +++ b/templates/repo/issue/new_form.tmpl @@ -100,7 +100,7 @@ <div class="menu"> <div class="no-select item">{{.i18n.Tr "repo.issues.new.clear_assignee"}}</div> {{range .Assignees}} - <div class="item" data-id="{{.Id}}" data-href="{{.HomeLink}}" data-avatar="{{.AvatarLink}}"><img src="{{.AvatarLink}}"> {{.Name}}</div> + <div class="item" data-id="{{.Id}}" data-href="{{$.RepoLink}}/issues?assignee={{.Id}}" data-avatar="{{.AvatarLink}}"><img src="{{.AvatarLink}}"> {{.Name}}</div> {{end}} </div> </div> @@ -108,7 +108,7 @@ <span class="no-select item {{if .Assignee}}hide{{end}}">{{.i18n.Tr "repo.issues.new.no_assignee"}}</span> <div class="selected"> {{if .Assignee}} - <a class="item" href="{{.Assignee.HomeLink}}"><img class="ui avatar image" src="{{.Assignee.AvatarLink}}"> {{.Assignee.Name}}</a> + <a class="item" href="{{.RepoLink}}/issues?assignee={{.Assignee.Id}}"><img class="ui avatar image" src="{{.Assignee.AvatarLink}}"> {{.Assignee.Name}}</a> {{end}} </div> </div> |