mirror of
https://github.com/RaspbianFrance/raspisms.git
synced 2025-04-22 01:16:26 +02:00
refactor all media create to centralise copy of medias and save, etc.
This commit is contained in:
parent
92146ba8e1
commit
04a40049ce
18 changed files with 400 additions and 367 deletions
|
@ -110,7 +110,7 @@ jQuery(document).ready(function ()
|
|||
if (row.mms == 1) {
|
||||
var medias = [];
|
||||
for (i = 0; i < row.medias.length; i++) {
|
||||
medias.push('<a href="' + HTTP_PWD + '/data/' + jQuery.fn.dataTable.render.text().display(row.medias[i].path) + '" target="_blank">Fichier ' + (i + 1) + '</a>');
|
||||
medias.push('<a href="' + HTTP_PWD + '/data/public/' + jQuery.fn.dataTable.render.text().display(row.medias[i].path) + '" target="_blank">Fichier ' + (i + 1) + '</a>');
|
||||
}
|
||||
html = data + '<br/>' + medias.join(' - ');
|
||||
return html;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue