formulaire de commande coiffure
This commit is contained in:
parent
22701c784e
commit
e338d07fd4
18 changed files with 6302 additions and 64 deletions
|
|
@ -5,14 +5,8 @@
|
|||
|
||||
<ul>
|
||||
<li> @SR["Rating"]: @Model.Rate % </li>
|
||||
@if (Model.MinDailyCost != null) {
|
||||
<li>@SR["MinDailyCost"]: @Model.MinDailyCost€</li>
|
||||
}
|
||||
@if (Model.MinDailyCost != null) {
|
||||
<li>@SR["MaxDailyCost"]: @Model.MaxDailyCost€</li>
|
||||
}
|
||||
@if (Model.WebSite!=null) {
|
||||
<li>@SR["WebSite"]: @Model.WebSite</li>
|
||||
<li>@SR["WebSite"]: <a target="yaext" href="@Model.WebSite">@Model.WebSite</a></li>
|
||||
}
|
||||
|
||||
</ul>
|
||||
|
|
|
|||
18
Yavsc/Views/Shared/Profiles.cshtml
Normal file
18
Yavsc/Views/Shared/Profiles.cshtml
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
@model IEnumerable<PerformerProfile>
|
||||
|
||||
@{
|
||||
ViewData["Title"] = "Les profiles - " + (ViewBag.Activity?.Name ?? SR["Any"]);
|
||||
}
|
||||
<h1>@ViewData["Title"]</h1>
|
||||
<em>@ViewBag.Activity.Description</em>
|
||||
|
||||
@foreach (var profile in Model) {
|
||||
<hr/>
|
||||
@Html.DisplayFor(m=>m)
|
||||
<form action="~/Command/Create" >
|
||||
<input type="hidden" name="id" value="@profile.PerformerId" />
|
||||
<input type="hidden" name="activityCode" value="@ViewBag.Activity.Code" />
|
||||
<input type="submit" value="@SR["Proposer un rendez-vous à"] @profile.Performer.UserName"/>
|
||||
</form>
|
||||
}
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue