+
@if (Model != null)
{
@@ -68,6 +72,13 @@ else
}
+@section scripts{
+
+}
@section popups
{
@@ -93,4 +104,5 @@ else
@Html.Partial("_ProcessDialog", null)
+ @Html.Partial("_ConfirmDialog")
}
\ No newline at end of file
diff --git a/WebsitePanel/Sources/WebsitePanel.WebDavPortal/Views/FileSystem/_ResoursePartial.cshtml b/WebsitePanel/Sources/WebsitePanel.WebDavPortal/Views/FileSystem/_ResoursePartial.cshtml
index 674917d1..bb65d42c 100644
--- a/WebsitePanel/Sources/WebsitePanel.WebDavPortal/Views/FileSystem/_ResoursePartial.cshtml
+++ b/WebsitePanel/Sources/WebsitePanel.WebDavPortal/Views/FileSystem/_ResoursePartial.cshtml
@@ -17,12 +17,12 @@
{
case FileOpenerType.OfficeOnline:
isTargetBlank = true;
- var pathPart = Model.Href.AbsolutePath.Replace("/" + WspContext.User.OrganizationId, "");
+ var pathPart = Model.Href.AbsolutePath.Replace("/" + WspContext.User.OrganizationId, "").TrimStart('/');
href = string.Concat(Url.RouteUrl(FileSystemRouteNames.ShowOfficeOnlinePath, new { org = WspContext.User.OrganizationId, pathPart = "" }), pathPart);
break;
default:
isTargetBlank = false;
- href = Model.Href.AbsolutePath;
+ href = Model.Href.LocalPath;
break;
}
@@ -39,17 +39,22 @@
}
-
-
+
+
+
@name
+
@if (showStatistic)
{
@Math.Round(Convert.ToDecimal(resource.ContentLength) / 1024, 2) / @Math.Round(Convert.ToDecimal(resource.AllocatedSpace) / 1024, 2) @Resources.GigabyteShort
}
+
+
+
\ No newline at end of file
diff --git a/WebsitePanel/Sources/WebsitePanel.WebDavPortal/Views/Shared/_ConfirmDialog.cshtml b/WebsitePanel/Sources/WebsitePanel.WebDavPortal/Views/Shared/_ConfirmDialog.cshtml
new file mode 100644
index 00000000..1711a807
--- /dev/null
+++ b/WebsitePanel/Sources/WebsitePanel.WebDavPortal/Views/Shared/_ConfirmDialog.cshtml
@@ -0,0 +1,20 @@
+@using WebsitePanel.WebDavPortal.UI
+