[*] BO : you can know download the previous file near the upload file input

This commit is contained in:
Damien Metzger committed 2013-10-25 18:55:25 +02:00
1 parent e9a802cf23
commit 03857c0576
6 files changed
+37 -5

No files matched your search

@@ -56,6 +56,14 @@
<button id="{$id}-selectbutton" type="button" name="submitAddAttachments" class="btn btn-default">
<i class="icon-folder-open"></i> {if isset($multiple) && $multiple}{l s='Add files'}{else}{l s='Add file'}{/if}
</button>
{if isset($file)}
<a href="{$file}">
<button type="button" class="btn btn-default">
<i class="icon-download"></i>
{if isset($size)}{l s='Download current file (%skb)' sprintf=$size}{else}{l s='Download current file'}{/if}
</button>
</a>
{/if}
</span>
</div>
</div>