|
|
|
@ -20,6 +20,9 @@
|
|
|
|
|
{{else if eq .GetOpType 10}} |
|
|
|
|
{{ $index := index .GetIssueInfos 0}} |
|
|
|
|
{{$.i18n.Tr "action.comment_issue" .GetRepoLink $index | Str2html}} |
|
|
|
|
{{else if eq .GetOpType 11}} |
|
|
|
|
{{ $index := index .GetIssueInfos 0}} |
|
|
|
|
{{$.i18n.Tr "action.comment_commit" .GetRepoLink $index | Str2html}} |
|
|
|
|
{{end}} |
|
|
|
|
</p> |
|
|
|
|
{{if eq .GetOpType 5}} |
|
|
|
@ -35,7 +38,7 @@
|
|
|
|
|
</div> |
|
|
|
|
{{else if eq .GetOpType 6}} |
|
|
|
|
<p class="news-content comment-news">{{index .GetIssueInfos 1}}</p> |
|
|
|
|
{{else if eq .GetOpType 10}} |
|
|
|
|
{{else if or (eq .GetOpType 10) (eq .GetOpType 11)}} |
|
|
|
|
<p class="news-content comment-news">{{index .GetIssueInfos 1}}</p> |
|
|
|
|
{{end}} |
|
|
|
|
<p class="news-time text-italic">{{TimeSince .GetCreate $.i18n.Lang}}</p> |
|
|
|
|