diff options
author | James Anderson <james@jamesanderson.me> | 2015-08-08 17:16:11 -0500 |
---|---|---|
committer | James Anderson <james@jamesanderson.me> | 2015-08-08 17:16:11 -0500 |
commit | fc63422cafe48b055bea52f7cc03fca0d8e0fef1 (patch) | |
tree | 19335e61c1251e56a86a86bd800418ece24c6014 | |
parent | b1f08d3218cd83ae854fbfe98a39b6d2f0fa47e3 (diff) | |
download | gitea-fc63422cafe48b055bea52f7cc03fca0d8e0fef1.tar.gz gitea-fc63422cafe48b055bea52f7cc03fca0d8e0fef1.zip |
Add check to see if comments on an issue are by the repo owner
-rw-r--r-- | templates/repo/issue/view.tmpl | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/templates/repo/issue/view.tmpl b/templates/repo/issue/view.tmpl index 61adfe6197..2889856f3a 100644 --- a/templates/repo/issue/view.tmpl +++ b/templates/repo/issue/view.tmpl @@ -69,7 +69,9 @@ <a href="{{AppSubUrl}}/{{.Poster.Name}}" class="user">{{.Poster.Name}}</a> commented <span class="time">{{TimeSince .Created $.Lang}}</span> <!-- <a class="issue-comment-del pull-right issue-action" href="#" title="Edit Comment"><i class="fa fa-times-circle"></i></a> <a class="issue-comment-edit pull-right issue-action" href="#" title="Remove Comment" data-url="{remove-link}"><i class="fa fa-edit"></i></a> --> + {{if eq .Poster.Id $.Owner.Id}} <span class="role label label-default pull-right">Owner</span> + {{end}} </div> <div class="panel-body markdown"> {{if len .Content}} |