@inherits MSGComponentBase @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.DocumentPaths.Any()) { @T("There aren't any file attachments available right now.") } @{ var currentFolder = string.Empty; foreach (var filePath in this.DocumentPaths) { var folderPath = Path.GetDirectoryName(filePath); if (folderPath != currentFolder) { currentFolder = folderPath; @folderPath: } @if (File.Exists(filePath)) {
@Path.GetFileName(filePath)
} else {
@Path.GetFileName(filePath)
} } }
Close