From d231809f15cf894af1e3abfc9f6d39584e0d5ffe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Standa=20Luke=C5=A1?= Date: Tue, 17 Oct 2023 21:41:12 +0200 Subject: [PATCH] CompilationPage: add title to truncated table columns --- .../Diagnostics/CompilationPage.dothtml | 26 ++++++++++++++----- .../Diagnostics/CompilationPageViewModel.cs | 1 + 2 files changed, 20 insertions(+), 7 deletions(-) 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) {