yavsc/Yavsc/Views/HairCutCommand/CommandConfirmation.cshtml

61 lines
1.7 KiB
Text
Raw Normal View History

2017-03-24 23:33:03 +01:00
@model HairCutQuery
@{
ViewData["Title"] = SR["Command confirmation"]+" "+ViewBag.Activity.Name;
}
<h2>@ViewData["Title"]</h2>
<div class="form-horizontal">
<h4>@SR["Your book query"]</h4>
<hr />
2017-04-01 02:14:10 +02:00
<ul>
<li>
Votre star de la coiffure:
@Html.DisplayFor(m=>m.PerformerProfile)
</li>
<li>
@Html.DisplayFor(m=>m.Prestation)
<p>
Addition minimale
(Compter des frais supplémentaires
en cas de longs déplacements,
ou des majorations en cas de weekend et jour férie)
<span class="price"> @ViewBag.Addition </span></p>
</li>
<li>
@if (Model.EventDate == null) {
<p>Pas de date convenue ...</p>
} else {
<label for="EventDate">
@SR["Event date"]</label>
@Html.DisplayFor(m => m.EventDate)
}
</li>
<li>
@if (Model.Location == null) {
<p>Pas de lieu convenu ...</p>
} else {
<label for="Location">@SR["Location"]</label>
@Html.DisplayFor(m => m.Location)
2017-03-24 23:33:03 +01:00
2017-04-01 02:14:10 +02:00
}
</li>
</ul>
2017-03-24 23:33:03 +01:00
@if (ViewBag.GooglePayload !=null)
{
@if (ViewBag.GooglePayload.success>0) {
<h4>@SR["GCM Notifications sent"]</h4>
}
else {
if (ViewBag.GooglePayload.failure>0)
{
2017-04-01 02:14:10 +02:00
<div class="error">@SR["GCM Notification sending failed"]</div>
2017-03-24 23:33:03 +01:00
}
else {
2017-04-01 02:14:10 +02:00
<div class="error">@SR["E-mail sent"]</div>
2017-03-24 23:33:03 +01:00
}
}
}
</div>