un positionnement de paramètre workflow des pros
This commit is contained in:
parent
fbd352e788
commit
96746fcc0b
322 changed files with 25893 additions and 3844 deletions
|
|
@ -1,4 +1,5 @@
|
|||
@model IndexViewModel
|
||||
@using System.Security.Claims
|
||||
@{
|
||||
ViewData["Title"] = @SR["Manage your account"];
|
||||
}
|
||||
|
|
@ -53,21 +54,27 @@
|
|||
>@SR[@Model.Avatar==null?"Set":"Modify"]</a>]
|
||||
</dd>
|
||||
|
||||
<dt>@SR["Activity"]:</dt>
|
||||
<dd>@Model.Activity?.Name
|
||||
<dt>@SR["Professional settings"]:</dt>
|
||||
<dd>
|
||||
@Html.DisplayFor(model => model.HaveProfessionalSettings)
|
||||
[<a asp-controller="Manage" asp-action="SetActivity"
|
||||
>@SR[Model.HaveProfessionalSettings?"Modify settings":"Set"]</a>]
|
||||
</dd>
|
||||
@if (Model.HaveProfessionalSettings) {
|
||||
<dt>@SR["Activities"]:</dt>
|
||||
<dd>
|
||||
@string.Join(", ",Model.Activity.Select( u=> u.Does.Name ).ToArray())
|
||||
[<a asp-controller="Do" asp-action="Index"
|
||||
>@SR[@Model.Activity==null?"Set":"Modify settings"]</a>]
|
||||
</dd>
|
||||
|
||||
}
|
||||
<dt>@SR["Bank info"]:</dt>
|
||||
<dd>@Html.DisplayFor(m => m.BankInfo) [<a asp-controller="Manage" asp-action="AddBankInfo"
|
||||
>@SR[@Model.BankInfo==null?"Set":"Modify"]</a>]</dd>
|
||||
|
||||
<dt>@SR["YourPosts"]:</dt>
|
||||
<dd>@Model.PostsCounter
|
||||
[<a asp-controller="Blogspot" asp-action="UserPosts"
|
||||
asp-route-id="@Model.UserName">@SR["YourPosts"]</a>]
|
||||
</dd>
|
||||
<dt><a asp-controller="Blogspot" asp-action="UserPosts"
|
||||
asp-route-id="@Model.UserName">@SR["Your posts"]:</a></dt>
|
||||
<dd>@Model.PostsCounter</dd>
|
||||
|
||||
<dt>@SR["TwoFactorAuthentication"]:</dt>
|
||||
<dd>
|
||||
|
|
@ -114,6 +121,10 @@
|
|||
@(Model.DiskUsage.ToString("0,#")) / @(Model.DiskQuota.ToString("0,#"))
|
||||
</text>
|
||||
</dd>
|
||||
<dt>Identifiant utilisateur</dt>
|
||||
<dd>
|
||||
@User.GetUserId()
|
||||
</dd>
|
||||
</dl>
|
||||
<h4>
|
||||
<a asp-controller="Account" asp-action="Delete" >@SR["Unregister"]</a>
|
||||
|
|
|
|||
|
|
@ -17,6 +17,7 @@
|
|||
<tr>
|
||||
<td>@account.LoginProvider</td>
|
||||
<td>
|
||||
@account.ProviderDisplayName
|
||||
@if ((bool)ViewData["ShowRemoveButton"])
|
||||
{
|
||||
<form asp-controller="Manage" asp-action="RemoveLogin" method="post" class="form-horizontal" role="form">
|
||||
|
|
|
|||
|
|
@ -101,24 +101,17 @@
|
|||
}
|
||||
});
|
||||
});
|
||||
</script> @{ await Html.RenderPartialAsync("_ValidationScriptsPartial"); } }
|
||||
|
||||
</script>
|
||||
}
|
||||
<h2>@ViewData["Title"].</h2>
|
||||
|
||||
@{ await Html.RenderPartialAsync("_PerformerPartial", Model) ; }
|
||||
@Html.DisplayFor(model => model)
|
||||
|
||||
<form id="FrmSetAct" asp-controller="Manage" asp-action="SetActivity" method="post" class="form-horizontal" role="form">
|
||||
<h4>@SR["Choose below your main activity"]:</h4>
|
||||
<hr />
|
||||
<div asp-validation-summary="ValidationSummary.All" class="text-danger" id="valsum"></div>
|
||||
<div class="form-group">
|
||||
<label asp-for="ActivityCode" class="col-md-2 control-label"></label>
|
||||
<div class="col-md-10">
|
||||
<select asp-for="ActivityCode" asp-items=@ViewBag.Activities class="form-control">
|
||||
</select>
|
||||
<span asp-validation-for="ActivityCode" class="text-danger"></span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<label asp-for="AcceptNotifications" class="col-md-2 control-label"></label>
|
||||
<div class="col-md-10">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue