From 36514dc2ededff5f062cc013bf7df6b9d729067d Mon Sep 17 00:00:00 2001 From: Thomas Hounsell Date: Sat, 11 Apr 2015 17:39:45 +0100 Subject: [PATCH] Add Private/Public indicator --- Views/front/viewGroup.cshtml | 22 ++++++++++++++-------- content/style.css | 5 +++++ 2 files changed, 19 insertions(+), 8 deletions(-) diff --git a/Views/front/viewGroup.cshtml b/Views/front/viewGroup.cshtml index 22b69c8..b81303a 100644 --- a/Views/front/viewGroup.cshtml +++ b/Views/front/viewGroup.cshtml @@ -11,14 +11,21 @@ {

@build.Lab

- @if (build.BuildTime.HasValue) - { -

+

+ @if (build.BuildTime.HasValue) + { @build.BuildTime.Value.ToString("d MMMM yyyy")
- @build.BuildTime.Value.ToString("h:mm tt") -

- } - + @build.BuildTime.Value.ToString("h:mm tt")
+ } + @if (build.IsLeaked) + { + Public + } + else + { + Private + } +

Info Edit @@ -27,4 +34,3 @@

} - diff --git a/content/style.css b/content/style.css index a22973e..c29ecc0 100644 --- a/content/style.css +++ b/content/style.css @@ -34,6 +34,11 @@ h1 margin-left: 0.3em; } +.label-build-status +{ + padding-bottom: 0; +} + .field-validation-error { color: #ff4136;