From 97c3a4ea864d901921fb7de79a8ee514af83d869 Mon Sep 17 00:00:00 2001 From: Thomas Hounsell Date: Sat, 12 Sep 2015 12:18:19 +0100 Subject: [PATCH] Bugfixes and whatnot. --- BuildFeed/Controllers/supportController.cs | 4 ++-- BuildFeed/Views/front/viewBuild.cshtml | 2 +- BuildFeed/Views/front/viewGroup.cshtml | 2 +- BuildFeed/Views/shared/_default.cshtml | 7 ++++--- BuildFeed/Views/support/rss.cshtml | 8 +++++--- BuildFeed/Web.config | 2 +- 6 files changed, 14 insertions(+), 11 deletions(-) diff --git a/BuildFeed/Controllers/supportController.cs b/BuildFeed/Controllers/supportController.cs index f861d75..a09400a 100644 --- a/BuildFeed/Controllers/supportController.cs +++ b/BuildFeed/Controllers/supportController.cs @@ -134,9 +134,9 @@ namespace BuildFeed.Controllers } [Route("rss")] - public ActionResult rss() + public async Task rss() { - ViewBag.Labs = bModel.SelectBuildLabs(); + ViewBag.Labs = await bModel.SelectBuildLabs(); return View(); } diff --git a/BuildFeed/Views/front/viewBuild.cshtml b/BuildFeed/Views/front/viewBuild.cshtml index 46dae50..09107e5 100644 --- a/BuildFeed/Views/front/viewBuild.cshtml +++ b/BuildFeed/Views/front/viewBuild.cshtml @@ -22,7 +22,7 @@ } -

@Model.FullBuildString

+

@Model.FullBuildString

diff --git a/BuildFeed/Views/front/viewGroup.cshtml b/BuildFeed/Views/front/viewGroup.cshtml index 316830a..891da8b 100644 --- a/BuildFeed/Views/front/viewGroup.cshtml +++ b/BuildFeed/Views/front/viewGroup.cshtml @@ -1,4 +1,4 @@ -@model Tuple> +@model Tuple> @using Humanizer; @{ ViewBag.Title = string.Format("{0} | {1}", Model.Item1.ToString(), BuildFeed.Local.Common.SiteName); diff --git a/BuildFeed/Views/shared/_default.cshtml b/BuildFeed/Views/shared/_default.cshtml index 100ad88..7a8f497 100644 --- a/BuildFeed/Views/shared/_default.cshtml +++ b/BuildFeed/Views/shared/_default.cshtml @@ -1,12 +1,12 @@  - + - + @@ -91,7 +91,8 @@

- @BuildFeed.Local.Common.Sitemap + @BuildFeed.Local.Common.Sitemap
+  @System.Globalization.CultureInfo.CurrentUICulture.NativeName

diff --git a/BuildFeed/Views/support/rss.cshtml b/BuildFeed/Views/support/rss.cshtml index be904c7..84948b8 100644 --- a/BuildFeed/Views/support/rss.cshtml +++ b/BuildFeed/Views/support/rss.cshtml @@ -12,9 +12,11 @@
  • @BuildFeed.Local.Model.FlightLevel
  • diff --git a/BuildFeed/Web.config b/BuildFeed/Web.config index d31d1a4..b3eedb7 100644 --- a/BuildFeed/Web.config +++ b/BuildFeed/Web.config @@ -19,7 +19,7 @@ - +