feat(journal): preview last attachments and photos in report card
This commit is contained in:
+1
-1
@@ -48,7 +48,7 @@ function fileCardHTML(f) {
|
||||
${thumb}
|
||||
<div class="ph-body">
|
||||
<span class="ph-badge">📎 Файл</span>
|
||||
<div class="ph-title">${isImageFile(f.name) ? esc(f.name) : `<a href="${url}" download class="ph-link">${esc(f.name)}</a>`}</div>
|
||||
<div class="ph-title"><a href="${isImageFile(f.name) ? `${url}?download=1` : url}" download class="ph-link">${esc(f.name)}</a></div>
|
||||
${meta}
|
||||
${time}
|
||||
${action}
|
||||
|
||||
Reference in New Issue
Block a user