From 2d0342cc79fd3ac428456d47364282de28692441 Mon Sep 17 00:00:00 2001 From: Paul Schneider Date: Fri, 9 Aug 2019 13:44:16 +0100 Subject: [PATCH] use the logo when available --- src/Yavsc.Server/Settings/SiteSettings.cs | 2 +- src/Yavsc/Views/Home/Index.cshtml | 6 +++--- src/Yavsc/Views/Shared/_Layout.cshtml | 3 ++- src/Yavsc/wwwroot/css/dev.css | 5 ----- 4 files changed, 6 insertions(+), 10 deletions(-) diff --git a/src/Yavsc.Server/Settings/SiteSettings.cs b/src/Yavsc.Server/Settings/SiteSettings.cs index 9c847ea1..00bf5453 100644 --- a/src/Yavsc.Server/Settings/SiteSettings.cs +++ b/src/Yavsc.Server/Settings/SiteSettings.cs @@ -9,7 +9,7 @@ namespace Yavsc public string StyleSheet { get; set; } public string FavIcon { get; set; } - public string Icon { get; set; } + public string Logo { get; set; } /// /// Conceptually, /// This authorisation server only has this present site as unique audience. diff --git a/src/Yavsc/Views/Home/Index.cshtml b/src/Yavsc/Views/Home/Index.cshtml index b2571f7a..ddb63b37 100755 --- a/src/Yavsc/Views/Home/Index.cshtml +++ b/src/Yavsc/Views/Home/Index.cshtml @@ -85,12 +85,12 @@ @section ctxmenu { @if (ViewData["Announces"]!=null) { -
  • - basket
  • +
  • + announces
  • } @if ((int)ViewData["HaircutCommandCount"]>0) {
  • - basket(@ViewData["HaircutCommandCount"])
  • + basket(@ViewData["HaircutCommandCount"]) } } diff --git a/src/Yavsc/Views/Shared/_Layout.cshtml b/src/Yavsc/Views/Shared/_Layout.cshtml index e805e2aa..5b1afe6b 100644 --- a/src/Yavsc/Views/Shared/_Layout.cshtml +++ b/src/Yavsc/Views/Shared/_Layout.cshtml @@ -65,7 +65,8 @@ - @SiteSettings.Value.Title + + @SiteSettings.Value.Title