Skip to content

Commit a501e83

Browse files
a1012112796AbdulrhmnGhanem
authored andcommitted
show tag name on dashboard items list (go-gitea#16466)
fix go-gitea#16458 Signed-off-by: a1012112796 <1012112796@qq.com>
1 parent ae5faa3 commit a501e83

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

options/locale/locale_en-US.ini

+1-1
Original file line numberDiff line numberDiff line change
@@ -2710,7 +2710,7 @@ comment_issue = `commented on issue <a href="%s/issues/%s">%s#%[2]s</a>`
27102710
comment_pull = `commented on pull request <a href="%s/pulls/%s">%s#%[2]s</a>`
27112711
merge_pull_request = `merged pull request <a href="%s/pulls/%s">%s#%[2]s</a>`
27122712
transfer_repo = transferred repository <code>%s</code> to <a href="%s">%s</a>
2713-
push_tag = pushed tag <a href="%s/src/tag/%s">%[2]s</a> to <a href="%[1]s">%[3]s</a>
2713+
push_tag = pushed tag <a href="%s/src/tag/%s">%[4]s</a> to <a href="%[1]s">%[3]s</a>
27142714
delete_tag = deleted tag %[2]s from <a href="%[1]s">%[3]s</a>
27152715
delete_branch = deleted branch %[2]s from <a href="%[1]s">%[3]s</a>
27162716
compare_branch = Compare

templates/user/dashboard/feeds.tmpl

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
{{$.i18n.Tr "action.transfer_repo" .GetContent .GetRepoLink .ShortRepoPath | Str2html}}
3434
{{else if eq .GetOpType 9}}
3535
{{ $tagLink := .GetTag | EscapePound | Escape}}
36-
{{$.i18n.Tr "action.push_tag" .GetRepoLink $tagLink .ShortRepoPath | Str2html}}
36+
{{$.i18n.Tr "action.push_tag" .GetRepoLink $tagLink .ShortRepoPath .GetTag | Str2html}}
3737
{{else if eq .GetOpType 10}}
3838
{{ $index := index .GetIssueInfos 0}}
3939
{{$.i18n.Tr "action.comment_issue" .GetRepoLink $index .ShortRepoPath | Str2html}}

0 commit comments

Comments
 (0)