Skip to content

Commit d692270

Browse files
committed
Add missed auto merge feed message on dashboard
1 parent 6073e2f commit d692270

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

templates/user/dashboard/feeds.tmpl

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,10 @@
7777
{{$index := index .GetIssueInfos 0}}
7878
{{$reviewer := index .GetIssueInfos 1}}
7979
{{ctx.Locale.Tr "action.review_dismissed" (printf "%s/pulls/%s" (.GetRepoLink ctx) $index) $index (.ShortRepoPath ctx) $reviewer}}
80+
{{else if .GetOpType.InActions "auto_merge_pull_request"}}
81+
{{$index := index .GetIssueInfos 0}}
82+
{{$title := index .GetIssueInfos 1}}
83+
{{ctx.Locale.Tr "action.auto_merge_pull_request" (printf "%s/pulls/%s" (.GetRepoLink ctx) $index) $index (.ShortRepoPath ctx) $title}}
8084
{{end}}
8185
{{DateUtils.TimeSince .GetCreate}}
8286
</div>

0 commit comments

Comments
 (0)