yavsc/Yavsc/Views/FrontOffice/HairCut.cshtml

20 lines
593 B
Text
Raw Normal View History

2017-03-01 10:11:20 +01:00
@model IEnumerable<PerformerProfile>
2017-02-27 19:28:32 +01:00
@{
2017-04-01 02:35:24 +02:00
ViewData["Title"] = (ViewBag.Activity?.Name ?? SR["Any"]) ;
2017-02-27 19:28:32 +01:00
}
2017-03-01 10:11:20 +01:00
<h1>@ViewData["Title"]</h1>
2017-02-27 19:28:32 +01:00
<em>@ViewBag.Activity.Description</em>
2017-03-01 10:11:20 +01:00
@foreach (var profile in Model) {
<hr/>
@Html.DisplayFor(m=>profile)
<a asp-controller="HairCutCommand" asp-action="HairCut"
asp-route-activityCode="@ViewBag.Activity.Code"
asp-route-performerId="@profile.Performer.Id"
2017-04-01 02:14:10 +02:00
class="btn btn-success">
@SR["Proposer un rendez-vous à"] @profile.Performer.UserName
</a>
2017-03-01 10:11:20 +01:00
}