public function renderPath(File $file) { $upload = $file->getUpload(); return file_exists($file->getFullPath()) ? $this->renderTd($file->getDisplayFilename()) : $this->renderTd('<div class="reupload-conteiner"><span class="upload-name">' . $this->escape($file->getDisplayFilename()) . '</span><br />' . '<div class="reupload-conteiner-hide"><span class="error">' . ___('File was removed from disk or corrupted. Please re-upload it.') . '</span>' . '<div><span class="reupload" data-upload_id="' . $upload->pk() . '" id="reupload-' . $upload->pk() . '"></span></div></div></div>', false); }