diff --git a/src/Framework/Framework/Diagnostics/CompilationPage.dothtml b/src/Framework/Framework/Diagnostics/CompilationPage.dothtml index 6f545a8557..9f2e195383 100644 --- a/src/Framework/Framework/Diagnostics/CompilationPage.dothtml +++ b/src/Framework/Framework/Diagnostics/CompilationPage.dothtml @@ -1,4 +1,4 @@ -@viewModel DotVVM.Framework.Diagnostics.CompilationPageViewModel +@viewModel DotVVM.Framework.Diagnostics.CompilationPageViewModel @@ -52,15 +52,19 @@ - {{value: Url}} + {{value: Url == "" ? "" : Url}} - + {{value: Url}} + HeaderText="Virtual Path"> + + + + - + + + + + - + + + + + + CssClass="fit status"/> diff --git a/src/Framework/Framework/Diagnostics/CompilationPageViewModel.cs b/src/Framework/Framework/Diagnostics/CompilationPageViewModel.cs index cfe6c388ec..c6007f36fc 100644 --- a/src/Framework/Framework/Diagnostics/CompilationPageViewModel.cs +++ b/src/Framework/Framework/Diagnostics/CompilationPageViewModel.cs @@ -15,6 +15,7 @@ public class CompilationPageViewModel : DotvvmViewModelBase public ImmutableArray MasterPages => viewCompilationService.GetMasterPages(); public ImmutableArray Controls => viewCompilationService.GetControls(); public int ActiveTab { get; set; } = 0; + public string PathBase => Context.TranslateVirtualPath("~/"); public CompilationPageViewModel(IDotvvmViewCompilationService viewCompilationService) {