From d3df6b8931a1cb3de2b36eb3d7f691b0f3a23cd3 Mon Sep 17 00:00:00 2001 From: Halil ibrahim Kalkan Date: Wed, 27 Jun 2018 16:59:06 +0300 Subject: [PATCH] Show info message when there is no doc project. --- .../Pages/Documents/Index.cshtml | 19 +++++++++++++------ 1 file changed, 13 insertions(+), 6 deletions(-) diff --git a/modules/docs/src/Volo.Docs.Web/Pages/Documents/Index.cshtml b/modules/docs/src/Volo.Docs.Web/Pages/Documents/Index.cshtml index 7afe55c369..41097038c0 100644 --- a/modules/docs/src/Volo.Docs.Web/Pages/Documents/Index.cshtml +++ b/modules/docs/src/Volo.Docs.Web/Pages/Documents/Index.cshtml @@ -5,9 +5,16 @@ }

Projects

- \ No newline at end of file +@if (Model.Projects.Count > 0) +{ + +} +else +{ +

There is no project defined yet!

+} \ No newline at end of file