Mide en forms
This commit is contained in:
@ -9,49 +9,7 @@
|
||||
<div>
|
||||
<h4>Command</h4>
|
||||
<hr />
|
||||
<dl class="dl-horizontal">
|
||||
|
||||
<dt>
|
||||
@Html.DisplayNameFor(model => model.EventDate)
|
||||
</dt>
|
||||
<dd>
|
||||
@Html.DisplayFor(model => model.EventDate)
|
||||
</dd>
|
||||
|
||||
<dt>
|
||||
@Html.DisplayNameFor(model => model.Client)
|
||||
</dt>
|
||||
<dd>
|
||||
@Html.DisplayFor(model => model.Client.UserName)
|
||||
</dd>
|
||||
|
||||
<dt>
|
||||
@Html.DisplayNameFor(model => model.Location.Address)
|
||||
</dt>
|
||||
<dd>
|
||||
@Html.DisplayFor(model => model.Location.Address)
|
||||
</dd>
|
||||
|
||||
<dt>
|
||||
@Html.DisplayNameFor(model => model.PerformerProfile)
|
||||
</dt>
|
||||
<dd>
|
||||
@Html.DisplayFor(model => model.PerformerProfile.Performer.UserName)
|
||||
</dd>
|
||||
|
||||
<dt>
|
||||
@Html.DisplayNameFor(model => model.ValidationDate)
|
||||
</dt>
|
||||
<dd>
|
||||
@if (Model.ValidationDate==null) {
|
||||
@SR["NotValidated"]
|
||||
}
|
||||
else {
|
||||
@Html.DisplayFor(model => model.ValidationDate)
|
||||
}
|
||||
</dd>
|
||||
|
||||
</dl>
|
||||
@Html.DisplayFor(m=>m)
|
||||
</div>
|
||||
<p>
|
||||
<a asp-action="Edit" asp-route-id="@Model.Id">Edit</a> |
|
||||
|
@ -1,13 +1,13 @@
|
||||
@model Yavsc.Models.Workflow.UserActivity
|
||||
|
||||
@{
|
||||
ViewData["Title"] = "Details";
|
||||
ViewData["Title"] = SR["Details"];
|
||||
}
|
||||
|
||||
<h2>Details</h2>
|
||||
<h2>@ViewData["Title"]</h2>
|
||||
|
||||
<div>
|
||||
<h4>UserActivity</h4>
|
||||
<h4>Détails de votre activité @Model.DoesCode</h4>
|
||||
<hr />
|
||||
<dl class="dl-horizontal">
|
||||
<dt>@SR["Activity"]</dt>
|
||||
|
@ -27,7 +27,7 @@
|
||||
<div class="col-md-10">
|
||||
<select name="CommandId" id="CommandId">
|
||||
@foreach (var query in ViewBag.Queries) {
|
||||
<option value="@query.Id" data-clientid="@query.ClientId">@query.GetDescription()</option>
|
||||
<option value="@query.Id" data-clientid="@query.ClientId">@Html.DisplayFor(m=> query)</option>
|
||||
}
|
||||
</select>
|
||||
<span asp-validation-for="ClientId" class="text-danger" />
|
||||
|
@ -9,35 +9,9 @@
|
||||
<div>
|
||||
<h4>Estimate</h4>
|
||||
<hr />
|
||||
<dl class="dl-horizontal">
|
||||
<dt>
|
||||
@Html.DisplayNameFor(model => model.Title)
|
||||
</dt>
|
||||
<dd>
|
||||
@Html.DisplayFor(model => model.Title)
|
||||
</dd>
|
||||
|
||||
<dt>
|
||||
@Html.DisplayNameFor(model => model.Description)
|
||||
</dt>
|
||||
<dd>
|
||||
@Html.DisplayFor(model => model.Description)
|
||||
</dd>
|
||||
|
||||
<dt>
|
||||
@Html.DisplayNameFor(model => model.Bill)
|
||||
</dt>
|
||||
<dd>
|
||||
@foreach (var cl in Model.Bill) {
|
||||
@await Html.PartialAsync("BillingLine", cl);
|
||||
}
|
||||
</dd>
|
||||
</dl>
|
||||
</div>
|
||||
|
||||
@Html.DisplayNameFor(model => model)
|
||||
<p>
|
||||
<a asp-action="Edit" asp-route-id="@Model.Id">@SR["Edit"]</a> |
|
||||
<a asp-action="Index">@SR["Back to List"]</a>
|
||||
</p>
|
||||
<div>
|
||||
@await Component.InvokeAsync("Estimate",Model.Id)
|
||||
</div>
|
||||
|
Reference in New Issue
Block a user