File tree Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -72,9 +72,9 @@ func (at ActionType) String() string {
7272 case ActionRenameRepo :
7373 return "rename_repo"
7474 case ActionStarRepo :
75- return "star_repo"
75+ return "star_repo" // will not displayed in feeds.tmpl
7676 case ActionWatchRepo :
77- return "watch_repo"
77+ return "watch_repo" // will not displayed in feeds.tmpl
7878 case ActionCommitRepo :
7979 return "commit_repo"
8080 case ActionCreateIssue :
Original file line number Diff line number Diff line change 7373 {{else if .GetOpType.InActions "publish_release"}}
7474 {{$linkText := .Content | ctx.RenderUtils.RenderEmoji}}
7575 {{ctx.Locale.Tr "action.publish_release" (.GetRepoLink ctx) (printf "%s/releases/tag/%s" (.GetRepoLink ctx) .GetTag) (.ShortRepoPath ctx) $linkText}}
76- {{else if .GetOpType.InActions "review_dismissed "}}
76+ {{else if .GetOpType.InActions "pull_review_dismissed "}}
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+ {{ctx.Locale.Tr "action.auto_merge_pull_request" (printf "%s/pulls/%s" (.GetRepoLink ctx) $index) $index (.ShortRepoPath ctx)}}
8083 {{end}}
8184 {{DateUtils.TimeSince .GetCreate}}
8285 </div>
You can’t perform that action at this time.
0 commit comments