Parcourir la source

Update templates/repo/issue/card.tmpl

Co-authored-by: KN4CK3R <admin@oldschoolhack.me>
pull/30687/head
silverwind il y a 2 mois
Parent
révision
aaf0bbb487
Aucun compte lié à l'adresse e-mail de l'auteur
1 fichiers modifiés avec 2 ajouts et 2 suppressions
  1. 2
    2
      templates/repo/issue/card.tmpl

+ 2
- 2
templates/repo/issue/card.tmpl Voir le fichier

@@ -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}}" />

Chargement…
Annuler
Enregistrer