summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorUnknwon <u@gogs.io>2016-02-01 20:31:54 -0500
committerUnknwon <u@gogs.io>2016-02-01 20:31:54 -0500
commitd3ba2466932aa40b549a563c69c60905a30536b8 (patch)
treef68fa8232cd88815a06e8c7bcb50f7cd46952ee5 /templates
parenta93af59b363912c00cfbfc3a8af5edb7396036de (diff)
parent85335c5f5623d3a8d238fcc21ab6a366096434bd (diff)
downloadgitea-d3ba2466932aa40b549a563c69c60905a30536b8.tar.gz
gitea-d3ba2466932aa40b549a563c69c60905a30536b8.zip
Merge pull request #2444 from bkcsoft/feature/participants
Implemented participant-listing for issue-pages (Fixes #2377)
Diffstat (limited to 'templates')
-rw-r--r--templates/repo/issue/view_content.tmpl16
1 files changed, 16 insertions, 0 deletions
diff --git a/templates/repo/issue/view_content.tmpl b/templates/repo/issue/view_content.tmpl
index c641d7a8ff..0c1c2690d8 100644
--- a/templates/repo/issue/view_content.tmpl
+++ b/templates/repo/issue/view_content.tmpl
@@ -313,6 +313,22 @@
{{end}}
</div>
</div>
+
+ <div class="ui divider"></div>
+
+ <div class="ui participants floating jump">
+ <span class="text"><strong>{{len .Participants }} Participants</strong></span>
+ <div class="ui floating jump">
+ {{range .Participants}}
+ <a href="{{.HomeLink}}">
+ <img class="ui avatar image" src="{{.AvatarLink}}" data-content={{.FullName}}>
+ </a>
+ {{end}}
+ </div>
+ <script>
+ $('.participants .ui.avatar.image').popup();
+ </script>
+ </div>
</div>
</div>
</div>