Add indicator to trash and clipboard for assets with children
This commit is contained in:
parent
1a4b77b435
commit
27b3a4d644
4 changed files with 8 additions and 3 deletions
|
|
@ -293,12 +293,13 @@ sub www_manageTrash {
|
|||
foreach my $child (@{$self->getAssetsInTrash($limit)}) {
|
||||
my $title = $child->getTitle;
|
||||
$title =~ s/\'/\\\'/g;
|
||||
my $plus =$child->getChildCount({includeTrash => 1}) ? "+ " : " ";
|
||||
$output .= "assetManager.AddLine('"
|
||||
.WebGUI::Form::checkbox($self->session, {
|
||||
name=>'assetId',
|
||||
value=>$child->getId
|
||||
})
|
||||
."','<a href=\"".$child->getUrl("func=manageAssets")."\">".$title
|
||||
."','" . $plus . "<a href=\"".$child->getUrl("func=manageAssets")."\">" . $title
|
||||
."</a>','<p style=\"display:inline;vertical-align:middle;\"><img src=\"".$child->getIcon(1)."\" style=\"vertical-align:middle;border-style:none;\" alt=\"".$child->getName."\" /></p> ".$child->getName
|
||||
."','".$self->session->datetime->epochToHuman($child->get("revisionDate"))
|
||||
."','".formatBytes($child->get("assetSize"))."');\n";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue