yavsc/Yavsc/Views/HairCutCommand/CommandConfirmation.cshtml

91 lines
2.5 KiB
Plaintext

8 years ago
@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 />
8 years ago
<dl class="dl-horizontal">
8 years ago
<dt>
Votre star de la coiffure
</dt>
<dd>
@Html.DisplayFor(m=>m.PerformerProfile)
8 years ago
</dd>
<dt>
@Html.DisplayNameFor(m=>m.Prestation)
</dt>
<dd>
@Html.DisplayFor(m=>m.Prestation)
8 years ago
</dd>
<dt>
@Html.DisplayNameFor(m=>m.AdditionalInfo)
</dt>
8 years ago
<dd>
@if (string.IsNullOrWhiteSpace(Model.AdditionalInfo))
{
<span class="info">Aucune information complémentaire n'a
été saisie.</span>
}
@Html.DisplayFor(m=>m.AdditionalInfo)
8 years ago
</dd>
8 years ago
<dt>Addition minimale
(Compter des frais supplémentaires
en cas de longs déplacements,
ou des majorations en cas de weekend et jour férie)
8 years ago
</dt>
<dd> <span class="price"> @ViewBag.Addition </span>
</dd>
<dt>Date de la prestation</dt>
<dd>@if (Model.EventDate == null) {
<p>Pas de date convenue ...</p>
} else {
<label for="EventDate">
@SR["Event date"]</label>
@Html.DisplayFor(m => m.EventDate)
8 years ago
}</dd>
<dt> @Html.DisplayNameFor(m => m.Location)
</dt>
<dd>@if (Model.Location == null) {
<p>Pas de lieu convenu ...</p>
} else {
<label for="Location">@SR["Location"]</label>
8 years ago
@Html.DisplayFor(m => m.Location)
}
8 years ago
</dd>
<dt>Motification
</dt>
<dd>@if (ViewBag.GooglePayload !=null)
8 years ago
{
@if (ViewBag.GooglePayload.success>0) {
<h4>@SR["GCM Notifications sent"]</h4>
}
else {
if (ViewBag.GooglePayload.failure>0)
{
<div class="error">@SR["GCM Notification sending failed"]</div>
8 years ago
}
else {
8 years ago
<div>@SR["E-mail sent"]</div>
8 years ago
}
}
8 years ago
} else {<div>@SR["E-mail sent"]</div>}
</dd>
</dl>
8 years ago
</div>