summaryrefslogtreecommitdiffstats
path: root/templates/repo/issue/view_content.tmpl
diff options
context:
space:
mode:
authorLunny Xiao <xiaolunwen@gmail.com>2017-02-05 22:36:00 +0800
committerGitHub <noreply@github.com>2017-02-05 22:36:00 +0800
commitf35b20b04212b2085d44d34933c04c4fd30d3a08 (patch)
tree30efeadd293fed2b656c373decf625927744130a /templates/repo/issue/view_content.tmpl
parent027591a3a556477a26d6c849e1ed9b9a53c15110 (diff)
downloadgitea-f35b20b04212b2085d44d34933c04c4fd30d3a08.tar.gz
gitea-f35b20b04212b2085d44d34933c04c4fd30d3a08.zip
track issue title changes (#841)
Diffstat (limited to 'templates/repo/issue/view_content.tmpl')
-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 17263cf3fd..def50a179b 100644
--- a/templates/repo/issue/view_content.tmpl
+++ b/templates/repo/issue/view_content.tmpl
@@ -175,6 +175,16 @@
<img src="{{.Poster.RelAvatarLink}}">
</a> <span class="text grey"><a href="{{.Poster.HomeLink}}">{{.Poster.Name}}</a> {{$.i18n.Tr "repo.issues.remove_assignee_at" $createdStr | Safe}} </span>{{end}}
</div>
+ {{else if eq .Type 10}}
+ <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.change_title_at" .OldTitle .NewTitle $createdStr | Safe}}
+ </span>
{{end}}
{{end}}