From d72b905bfb0aa9b3d2c0bff856ea2ec2f3e396d1 Mon Sep 17 00:00:00 2001 From: Paul Schneider Date: Wed, 27 Jul 2016 13:04:49 +0200 Subject: [PATCH] cleans the code --- .../Views/Command/CommandConfirmation.cshtml | 46 ++++--------------- 1 file changed, 8 insertions(+), 38 deletions(-) diff --git a/Yavsc/Views/Command/CommandConfirmation.cshtml b/Yavsc/Views/Command/CommandConfirmation.cshtml index bac76129..d58ee305 100644 --- a/Yavsc/Views/Command/CommandConfirmation.cshtml +++ b/Yavsc/Views/Command/CommandConfirmation.cshtml @@ -1,52 +1,22 @@ @model BookQuery @using Yavsc.Models.Google.Messaging @{ - ViewData["Title"] = SR["Book "+Model.PerformerProfile.ActivityCode]; -} -@section header{ - @{ await Html.RenderPartialAsync("_ValidationScriptsPartial"); } - - - - -} -@section scripts{ - + ViewData["Title"] = SR["Command confirmation"]+" "+SR[Model.PerformerProfile.ActivityCode]; }

@ViewData["Title"]

@SR["Your book query"]


- @Html.DisplayFor(m => m.EventDate) - @Html.DisplayFor(m => m.Location) + : @Html.DisplayFor(m => m.EventDate) +
+ + : @Html.DisplayFor(m => m.Location) +
+ @if (ViewBag.GooglePayload !=null) { @if (ViewBag.GooglePayload.success>0) { -

@SR["GCM Notifications sent"]

+

@SR["GCM Notifications sent"]

} else { if (ViewBag.GooglePayload.failure>0)