Overview
Comment:Add attachment image file name in gallery see ticket [d04db0a0f3147b2a5375da475c2bc076b589efc9]
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk | stable
Files: files | file ages | folders
SHA3-256: 1113c8751c5cd075d7fbeb1522123d5698107c7dfacaa835675259bc4d6b439b
User & Date: bohwaz on 2021-06-02 16:02:17
Other Links: manifest | tags
References
2021-06-02
16:03 Ticket [d04db0a0f3] Site : améliorer la visualisation des sous-catégories et ajouter les noms de fichiers status still Open with 5 other changes artifact: 73ffefa9af user: bohwaz
Context
2021-06-02
16:11
Fix [d04db0a0f3147b2a5375da475c2bc076b589efc9]: proper tree of categories check-in: 51f40f8343 user: bohwaz tags: trunk, stable
16:02
Add attachment image file name in gallery see ticket [d04db0a0f3147b2a5375da475c2bc076b589efc9] check-in: 1113c8751c user: bohwaz tags: trunk, stable
2021-06-01
22:08
Order reminders by sent order check-in: 2273bb1c80 user: bohwaz tags: trunk, stable
Changes

Modified src/templates/web/_attach.tpl from [d9dde30b66] to [0bf38746a5].

39
40
41
42
43
44
45



46
47
48
49
50
51
52

{if !empty($images)}
<ul class="gallery">
{foreach from=$images item="file"}
	<li>
		<figure>
			<a href="{$file->url()}" data-name="{$file.name}" data-insert="image" data-thumb="{$file->thumb_url()}"><img src="{$file->thumb_url()}" alt="" title="{$file.name}" /></a>



			<form class="actions" method="post" action="{$self_url}">
				{linkbutton shape="download" label="Télécharger" href=$file->url() target="_blank"}
				{linkbutton shape="plus" label="Insérer" href=$file->url() data-name=$file.name data-insert="image" data-thumb=$file->thumb_url()}
				{csrf_field key=$csrf_key}
				<input type="hidden" name="delete" value="{$file.name}" />
				<noscript><input type="submit" value="Supprimer" /></noscript>
			</form>







>
>
>







39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55

{if !empty($images)}
<ul class="gallery">
{foreach from=$images item="file"}
	<li>
		<figure>
			<a href="{$file->url()}" data-name="{$file.name}" data-insert="image" data-thumb="{$file->thumb_url()}"><img src="{$file->thumb_url()}" alt="" title="{$file.name}" /></a>
			<figcaption>
				<a href="{$file->url()}" data-name="{$file.name}" data-insert="image" data-thumb="{$file->thumb_url()}">{$file.name}</a>
			</figcaption>
			<form class="actions" method="post" action="{$self_url}">
				{linkbutton shape="download" label="Télécharger" href=$file->url() target="_blank"}
				{linkbutton shape="plus" label="Insérer" href=$file->url() data-name=$file.name data-insert="image" data-thumb=$file->thumb_url()}
				{csrf_field key=$csrf_key}
				<input type="hidden" name="delete" value="{$file.name}" />
				<noscript><input type="submit" value="Supprimer" /></noscript>
			</form>