summaryrefslogtreecommitdiffstats
path: root/templates/repo/issue
diff options
context:
space:
mode:
authorLunny Xiao <xiaolunwen@gmail.com>2017-02-11 12:00:29 +0800
committerGitHub <noreply@github.com>2017-02-11 12:00:29 +0800
commitcf0f451c37496c84795e98191a20350e0f5be35c (patch)
treecea8b11a1a9afbf29f828c6132dc19c07c741bdc /templates/repo/issue
parent3576e1ee739cc03f87e6ce98dbef2f32b517b202 (diff)
downloadgitea-cf0f451c37496c84795e98191a20350e0f5be35c.tar.gz
gitea-cf0f451c37496c84795e98191a20350e0f5be35c.zip
Add delete branch track on pull request comments (#888)
* add delete branch track on pull request comments * don't change vendor
Diffstat (limited to 'templates/repo/issue')
-rw-r--r--templates/repo/issue/view_content.tmpl10
1 files changed, 10 insertions, 0 deletions
diff --git a/templates/repo/issue/view_content.tmpl b/templates/repo/issue/view_content.tmpl
index def50a179b..40993e54d2 100644
--- a/templates/repo/issue/view_content.tmpl
+++ b/templates/repo/issue/view_content.tmpl
@@ -185,6 +185,16 @@
<span class="text grey"><a href="{{.Poster.HomeLink}}">{{.Poster.Name}}</a>
{{$.i18n.Tr "repo.issues.change_title_at" .OldTitle .NewTitle $createdStr | Safe}}
</span>
+ {{else if eq .Type 11}}
+ <div class="event">
+ <span class="octicon octicon-primitive-dot"></span>
+ </div>
+ <a class="ui avatar image" href="{{.Poster.HomeLink}}">
+ <img src="{{.Poster.RelAvatarLink}}">
+ </a>
+ <span class="text grey"><a href="{{.Poster.HomeLink}}">{{.Poster.Name}}</a>
+ {{$.i18n.Tr "repo.issues.delete_branch_at" .CommitSHA $createdStr | Safe}}
+ </span>
{{end}}
{{end}}