@inherits MSGComponentBase @* A drop anywhere in this dialog belongs to the dialog, not to the page behind it: *@ @T("Here you can see all attached files. Files that can no longer be found (deleted, renamed, or moved) are marked with a warning icon and a strikethrough name. You can remove any attachment using the trash can icon.") @if (this.CanAttach) { @T("You can drag more files into this window to attach them right away.") }
@if (!this.DocumentPaths.Any()) { @T("There aren't any file attachments available right now.") } @{ var currentFolder = string.Empty; foreach (var fileAttachment in this.OrderedAttachments) { var folderPath = Path.GetDirectoryName(fileAttachment.FilePath); if (folderPath != currentFolder) { currentFolder = folderPath; @folderPath: } @if (fileAttachment.Exists) {
@fileAttachment.FileName
} else {
@fileAttachment.FileName
} } }
@T("Close")