yavsc/Yavsc/Views/Command/CommandConfirmation.cshtml

35 lines
1.1 KiB
Text
Raw Normal View History

2017-02-27 19:28:32 +01:00
@model RdvQuery
@using Yavsc.Models.Google.Messaging
@{
2017-01-16 01:20:39 +01:00
ViewData["Title"] = SR["Command confirmation"]+" "+ViewBag.Activity.Name;
}
<h2>@ViewData["Title"]</h2>
<div class="form-horizontal">
<h4>@SR["Your book query"]</h4>
<hr />
<label for="EventDate">@SR["Event date"]</label>: @Html.DisplayFor(m => m.EventDate)
<br/>
<label for="Location">@SR["Location"]</label>: @Html.DisplayFor(m => m.Location)
<br/>
@if (ViewBag.GooglePayload !=null)
{
@if (ViewBag.GooglePayload.success>0) {
<h4>@SR["GCM Notifications sent"]</h4>
}
else {
if (ViewBag.GooglePayload.failure>0)
{
<h4>@SR["GCM Notification sending failed"]</h4>
2018-02-03 20:17:29 +01:00
<pre><code>@Newtonsoft.Json.JsonConvert.SerializeObject(ViewBag.GooglePayload)</code></pre>
2017-03-16 17:14:03 +01:00
}
}
}
2018-02-03 20:17:29 +01:00
@if (ViewBag.EmailSent)
{
2018-05-02 04:11:24 +02:00
<h4>@String.Format(SR["EmailSentToPerformer"],User.GetUserName())</h4>
2018-02-03 20:17:29 +01:00
}
</div>