Преглед на файлове
Update templates/repo/issue/card.tmpl
Co-authored-by: KN4CK3R <admin@oldschoolhack.me>
pull/30687/head
silverwind
преди 2 месеца
родител
ревизия
aaf0bbb487
No account linked to committer's email address
|
|
@@ -1,7 +1,7 @@ |
|
|
|
{{with .Issue}} |
|
|
|
{{if eq $.Page.Project.CardType 1}}{{/* Images and Text*/}} |
|
|
|
{{$attachmentIDs := index $.Page.issuesAttachmentMap .ID}} |
|
|
|
{{if $attachmentIDs}} |
|
|
|
{{$attachments := index $.Page.issuesAttachmentMap .ID}} |
|
|
|
{{if $attachments}} |
|
|
|
<div class="card-attachment-images"> |
|
|
|
{{range $attachmentIDs}} |
|
|
|
<img src="{{.DownloadURL}}" alt="{{.Name}}" /> |