diff options
Diffstat (limited to 'templates')
-rw-r--r-- | templates/.VERSION | 2 | ||||
-rw-r--r-- | templates/user/dashboard/feeds.tmpl | 8 |
2 files changed, 9 insertions, 1 deletions
diff --git a/templates/.VERSION b/templates/.VERSION index fc515614..92794482 100644 --- a/templates/.VERSION +++ b/templates/.VERSION @@ -1 +1 @@ -0.8.41.0221
\ No newline at end of file +0.8.42.0222
\ No newline at end of file diff --git a/templates/user/dashboard/feeds.tmpl b/templates/user/dashboard/feeds.tmpl index 17b40d95..7bb83d66 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> |