@using SmartStore.Admin.Models.DataExchange; @using SmartStore.Web.Framework; @model ExportProfileDetailsModel @helper FileDownloadLink(string path, string fileName) {
@Html.IconForFileExtension(Path.GetExtension(fileName), false) @fileName
} @if (Model.ExportFiles.Count == 0) {
@T("Admin.Common.NoTempFilesFound")
} else {

@T("Admin.Common.TemporaryFiles")

if (Model.ZipPath.HasValue()) {
@FileDownloadLink(Model.ZipPath, Path.GetFileName(Model.ZipPath))
} foreach (var path in Model.ExportFiles) { @FileDownloadLink(path, Path.GetFileName(path)) } } @if (Model.PublicFiles.Count > 0) {

 

@T("Admin.Common.PublicFiles")

foreach (var grp in Model.PublicFiles.OrderBy(x => x.StoreId).GroupBy(x => x.StoreId)) {

@(grp.First().StoreName):
foreach (var file in grp) {
@file.FileUrl
} } }