forked from extern/egroupware
Etemplate - even better formatting for display of linked files in sub-directories
Now looks good for multiple files in the same sub-dir, not just one file per sub-dir
This commit is contained in:
parent
64a0ec9c02
commit
383b602c67
@ -2168,9 +2168,9 @@ var et2_link_list = (function(){ "use strict"; return et2_link_string.extend(
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
var filename = dirs.pop();
|
var filename = dirs.pop();
|
||||||
if(reformat && dirs.length === 1)
|
if(reformat && (dirs.length - i) === 0)
|
||||||
{
|
{
|
||||||
$td.html('<span style="display: inline-block; width:'+span_size+'ex;"></span> - '+dirs.join(''));
|
$td.html('<span style="display: inline-block; width:'+span_size+'ex;"></span> - '+filename);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user