Browse Source

issue关闭修改。

Signed-off-by: zouap <zouap@pcl.ac.cn>
pull/3432/head
zouap 2 years ago
parent
commit
bac57b8897
2 changed files with 2 additions and 6 deletions
  1. +1
    -1
      options/locale/locale_zh-CN.ini
  2. +1
    -5
      templates/repo/issue/list.tmpl

+ 1
- 1
options/locale/locale_zh-CN.ini View File

@@ -1675,7 +1675,7 @@ pulls.merged_by=由 <a href="%[2]s">%[3]s</a> 于 %[1]s 合并
pulls.merged_by_fake=由 %[2]s 于 %[1]s 合并
issues.closed_by=由 <a href="%[2]s">%[3]s</a> 关闭于 %[1]s
issues.opened_by_fake=由 %[2]s 于 %[1]s创建
issues.closed_by_fake=通过 %[2]s 关闭 %[1]s
issues.closed_by_fake=由 %[2]s 创建,被关闭于 %[1]s
issues.previous=上一页
issues.next=下一页
issues.open_title=开启中


+ 1
- 5
templates/repo/issue/list.tmpl View File

@@ -270,11 +270,7 @@
{{if .OriginalAuthor }}
{{$.i18n.Tr .GetLastEventLabelFake $timeStr .OriginalAuthor | Safe}}
{{else if gt .Poster.ID 0}}
{{if .IsClosed}}
{{$.i18n.Tr .GetLastEventLabel $timeStr .GetCloseUser.HomeLink (.GetCloseUser.GetDisplayName | Escape) | Safe}}
{{else}}
{{$.i18n.Tr .GetLastEventLabel $timeStr .Poster.HomeLink (.Poster.GetDisplayName | Escape) | Safe}}
{{end}}
{{$.i18n.Tr .GetLastEventLabel $timeStr .Poster.HomeLink (.Poster.GetDisplayName | Escape) | Safe}}
{{else}}
{{$.i18n.Tr .GetLastEventLabelFake $timeStr (.Poster.GetDisplayName | Escape) | Safe}}
{{end}}


Loading…
Cancel
Save