File tree 2 files changed +7
-0
lines changed
templates/repo/issue/view_content 2 files changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -785,6 +785,7 @@ issues.lock.unknown_reason = Cannot lock an issue with an unknown reason.
785
785
issues.lock_duplicate = An issue cannot be locked twice.
786
786
issues.unlock_error = Cannot unlock an issue that is not locked.
787
787
issues.lock_with_reason = "locked as <strong>%s</strong> and limited conversation to collaborators %s"
788
+ issues.lock_no_reason = "locked and limited conversation to collaborators %s"
788
789
issues.unlock_comment = "unlocked this conversation %s"
789
790
issues.lock_confirm = Lock
790
791
issues.unlock_confirm = Unlock
Original file line number Diff line number Diff line change 367
367
<img src="{{.Poster.RelAvatarLink}}">
368
368
</a>
369
369
370
+ {{ if .Content }}
370
371
<span class="text grey"><a href="{{.Poster.HomeLink}}">{{.Poster.Name}}</a>
371
372
{{$.i18n.Tr "repo.issues.lock_with_reason" .Content $createdStr | Safe}}
372
373
</span>
374
+ {{ else }}
375
+ <span class="text grey"><a href="{{.Poster.HomeLink}}">{{.Poster.Name}}</a>
376
+ {{$.i18n.Tr "repo.issues.lock_no_reason" $createdStr | Safe}}
377
+ </span>
378
+ {{ end }}
373
379
</div>
374
380
{{else if eq .Type 24}}
375
381
<div class="event">
You can’t perform that action at this time.
0 commit comments