summaryrefslogtreecommitdiffstats
path: root/templates/user/dashboard/feeds.tmpl
diff options
context:
space:
mode:
Diffstat (limited to 'templates/user/dashboard/feeds.tmpl')
-rw-r--r--templates/user/dashboard/feeds.tmpl8
1 files changed, 8 insertions, 0 deletions
diff --git a/templates/user/dashboard/feeds.tmpl b/templates/user/dashboard/feeds.tmpl
index 17b40d9535..7bb83d665b 100644
--- a/templates/user/dashboard/feeds.tmpl
+++ b/templates/user/dashboard/feeds.tmpl
@@ -31,6 +31,12 @@
{{else if eq .GetOpType 11}}
{{ $index := index .GetIssueInfos 0}}
{{$.i18n.Tr "action.merge_pull_request" .GetRepoLink $index .ShortRepoPath | Str2html}}
+ {{else if eq .GetOpType 12}}
+ {{ $index := index .GetIssueInfos 0}}
+ {{$.i18n.Tr "action.close_issue" .GetRepoLink $index .ShortRepoPath | Str2html}}
+ {{else if eq .GetOpType 13}}
+ {{ $index := index .GetIssueInfos 0}}
+ {{$.i18n.Tr "action.reopen_issue" .GetRepoLink $index .ShortRepoPath | Str2html}}
{{end}}
</p>
{{if eq .GetOpType 5}}
@@ -55,6 +61,8 @@
<p class="text light grey">{{index .GetIssueInfos 1}}</p>
{{else if eq .GetOpType 11}}
<p class="text light grey">{{index .GetIssueInfos 1}}</p>
+ {{else if (or (eq .GetOpType 12) (eq .GetOpType 13))}}
+ <span class="text truncate issue title">{{.GetIssueTitle}}</span>
{{end}}
<p class="text italic light grey">{{TimeSince .GetCreate $.i18n.Lang}}</p>
</div>