From 894cc9fad8d59a46b11a50400a8e535e3e687464 Mon Sep 17 00:00:00 2001 From: Thomas Hounsell Date: Sun, 31 May 2015 17:56:42 +0100 Subject: [PATCH] Fix empty lab showing, fix old disqus being lost. --- Views/front/viewBuild.cshtml | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/Views/front/viewBuild.cshtml b/Views/front/viewBuild.cshtml index bfccf99..f2c60da 100644 --- a/Views/front/viewBuild.cshtml +++ b/Views/front/viewBuild.cshtml @@ -75,8 +75,15 @@ @Html.LabelFor(model => model.Lab, new { @class = "control-label col-sm-4" })

- @Model.Lab
- Find more builds from @Model.Lab + @if (string.IsNullOrEmpty(Model.Lab)) + { + No lab string + } + else + { + @Model.Lab
+ Find more builds from @Model.Lab + }

@@ -141,7 +148,7 @@