FIXME Razor page errors
This commit is contained in:
parent
123283f277
commit
1a1f560ee4
234 changed files with 859 additions and 856 deletions
|
|
@ -8,7 +8,7 @@
|
|||
<h4>Vous pouvez valider vos coordonnée bancaire ci après.</h4>
|
||||
|
||||
<hr />
|
||||
<div asp-validation-summary="ValidationSummary.All" class="text-danger"></div>
|
||||
<div asp-validation-summary="All" class="text-danger"></div>
|
||||
|
||||
<fieldset>
|
||||
<div class="form-group">
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@
|
|||
<form asp-controller="Manage" asp-action="AddPhoneNumber" method="post" class="form-horizontal" role="form">
|
||||
<h4>Add a phone number.</h4>
|
||||
<hr />
|
||||
<div asp-validation-summary="ValidationSummary.All" class="text-danger"></div>
|
||||
<div asp-validation-summary="All" class="text-danger"></div>
|
||||
<div class="form-group">
|
||||
<label asp-for="PhoneNumber" class="col-md-2 control-label"></label>
|
||||
<div class="col-md-10">
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@
|
|||
<form asp-controller="Manage" asp-action="ChangePassword" method="post" class="form-horizontal" role="form">
|
||||
<h4>Change Password Form</h4>
|
||||
<hr />
|
||||
<div asp-validation-summary="ValidationSummary.All" class="text-danger"></div>
|
||||
<div asp-validation-summary="All" class="text-danger"></div>
|
||||
<div class="form-group">
|
||||
<label asp-for="OldPassword" class="col-md-2 control-label"></label>
|
||||
<div class="col-md-10">
|
||||
|
|
@ -32,9 +32,9 @@
|
|||
</div>
|
||||
<div class="form-group">
|
||||
<div class="col-md-offset-2 col-md-10">
|
||||
<button type="submit" class="btn btn-default">@SR["Change password"]</button>
|
||||
<button type="submit" class="btn btn-default">Change password</button>
|
||||
|
||||
<a asp-action="ForgotPassword" asp-controller="Account">@SR["Forgot your password?"]</a>
|
||||
<a asp-action="ForgotPassword" asp-controller="Account">Forgot your password?"]</a>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
@model ChangeUserNameViewModel
|
||||
@{
|
||||
ViewData["Title"] = @SR["Changer de nom d'utilisateur"];
|
||||
ViewData["Title"] = Changer de nom d'utilisateur;
|
||||
}
|
||||
|
||||
<h2>@ViewData["Title"].</h2>
|
||||
|
|
@ -8,7 +8,7 @@
|
|||
<form asp-controller="Manage" asp-action="ChangeUserName" method="post" class="form-horizontal" role="form">
|
||||
<h4>Change user name form</h4>
|
||||
<hr />
|
||||
<div asp-validation-summary="ValidationSummary.All" class="text-danger"></div>
|
||||
<div asp-validation-summary="All" class="text-danger"></div>
|
||||
<div class="form-group">
|
||||
<label asp-for="NewUserName" class="col-md-2 control-label"></label>
|
||||
<div class="col-md-10">
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
@{
|
||||
ViewData["Title"] = @SR["Credits"];
|
||||
ViewData["Title"] = "Credits";
|
||||
}
|
||||
<h1>@ViewData["Title"]</h1>
|
||||
<em>Your credits</em>
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
@model DoDirectCreditViewModel
|
||||
|
||||
<form asp-action="DoDirectCredit">
|
||||
<div asp-validation-summary="ValidationSummary.All" class="text-danger" id="ValidationSummary"></div>
|
||||
<div asp-validation-summary="All" class="text-danger" id="ValidationSummary"></div>
|
||||
|
||||
<div class="form-group">
|
||||
|
||||
|
|
|
|||
|
|
@ -1,33 +1,33 @@
|
|||
@model IndexViewModel
|
||||
@using System.Security.Claims
|
||||
@{
|
||||
ViewData["Title"] = @SR["Manage your account"];
|
||||
ViewData["Title"] = Manage your account;
|
||||
}
|
||||
|
||||
<h2>@ViewData["Title"]</h2>
|
||||
<p class="text-success">@ViewData["StatusMessage"]</p>
|
||||
<div>
|
||||
<h4>@SR["Your account settings"]</h4>
|
||||
<h4>Your account settings</h4>
|
||||
<hr />
|
||||
<dl class="dl-horizontal">
|
||||
<dt>@SR["UserName"]:</dt>
|
||||
<dt>UserName:</dt>
|
||||
|
||||
<dd>
|
||||
@Model.UserName
|
||||
</dd>
|
||||
|
||||
<dt>@SR["EMail"]:</dt>
|
||||
<dt>EMail:</dt>
|
||||
|
||||
<dd>
|
||||
@Model.EMail
|
||||
|
||||
@if (Model.EmailConfirmed) {
|
||||
<text>(@SR["Adresse E-mail confirmée"])</text>
|
||||
<text>(Adresse E-mail confirmée"])</text>
|
||||
} else {
|
||||
<text>
|
||||
<i> (@SR["Adresse non confirmée."])</i>
|
||||
<i> (Adresse non confirmée."])</i>
|
||||
<form asp-action="SendConfirationEmail" asp-controller="Account" enctype="multipart/form-data">
|
||||
<input type="submit" value="@SR["Confirmer cette adresse"]"/>
|
||||
<input type="submit" value="Confirmer cette adresse"]"/>
|
||||
</form>
|
||||
</text>
|
||||
}
|
||||
|
|
@ -35,7 +35,7 @@
|
|||
|
||||
<dd>
|
||||
<dl>
|
||||
<dt>@SR["AllowMonthlyEmail"]:</dt>
|
||||
<dt>AllowMonthlyEmail:</dt>
|
||||
<dd>
|
||||
<a asp-action="ProfileEMailUsage"> @Html.DisplayFor(m=>m.AllowMonthlyEmail) [modifier]
|
||||
</a>
|
||||
|
|
@ -44,81 +44,81 @@
|
|||
</dd>
|
||||
|
||||
|
||||
<dt>@SR["FullName"]:</dt>
|
||||
<dt>FullName:</dt>
|
||||
<dd>
|
||||
@Html.DisplayFor(m=>m.FullName) <a asp-action="SetFullName">[modifier]</a>
|
||||
</dd>
|
||||
|
||||
@if (Model.Roles.Count()>0) {
|
||||
<dt>@SR["Roles"]:</dt>
|
||||
<dt>Roles:</dt>
|
||||
<dd>
|
||||
@string.Join(", ",Model.Roles)
|
||||
</dd>}
|
||||
<dt>@SR["Password"]:</dt>
|
||||
<dt>Password:</dt>
|
||||
<dd>[@if (Model.HasPassword)
|
||||
{<a asp-controller="Manage"
|
||||
asp-action="ChangePassword">@SR["Change"]</a>}
|
||||
asp-action="ChangePassword">Change</a>}
|
||||
else
|
||||
{<a asp-controller="Manage"
|
||||
asp-action="SetPassword">@SR["Create"]</a>}]</dd>
|
||||
asp-action="SetPassword">Create</a>}]</dd>
|
||||
|
||||
<dt>@SR["External Logins"]:</dt>
|
||||
<dt>External Logins:</dt>
|
||||
<dd>
|
||||
@Model.Logins.Count [<a asp-controller="Manage" asp-action="ManageLogins">@SR["Manage"]</a>]
|
||||
@Model.Logins.Count [<a asp-controller="Manage" asp-action="ManageLogins">Manage</a>]
|
||||
</dd>
|
||||
|
||||
<dt>@SR["Full name"]:</dt>
|
||||
<dt>Full name:</dt>
|
||||
<dd>@Model.FullName [<a asp-controller="Manage" asp-action="SetFullName"
|
||||
>@SR[@Model.FullName==null?"Set":"Modify"]</a>]</dd>
|
||||
>@Model.FullName==null?"Set":"Modify"</a>]</dd>
|
||||
|
||||
<dt>@SR["Address"]:</dt>
|
||||
<dt>Address:</dt>
|
||||
<dd>@Model.PostalAddress
|
||||
[<a asp-controller="Manage" asp-action="SetAddress"
|
||||
>@SR[@Model.PostalAddress==null?"Set":"Modify"]</a>]
|
||||
>@Model.PostalAddress==null?"Set":"Modify"</a>]
|
||||
</dd>
|
||||
|
||||
<dt>@SR["Avatar"]:</dt>
|
||||
<dt>Avatar:</dt>
|
||||
<dd>
|
||||
<img src="/Avatars/@(User.GetUserName()+".s").png" asp-append-version="true" class="smalltofhol" />
|
||||
[<a asp-controller="Manage" asp-action="SetAvatar"
|
||||
>@SR["Modify"]</a>]
|
||||
>Modify</a>]
|
||||
</dd>
|
||||
|
||||
<dt>@SR["Vos cercles"]</dt>
|
||||
<dd> (WIP) <a asp-action="Index" asp-controller="Circle">[@SR["Ajouter suprimer des cercles"]]</a>
|
||||
<a asp-action="Index" asp-controller="CircleMembers">[@SR["Gérer les membres de vos cercles"]]</a>
|
||||
<dt>Vos cercles</dt>
|
||||
<dd> (WIP) <a asp-action="Index" asp-controller="Circle">[Ajouter suprimer des cercles"]]</a>
|
||||
<a asp-action="Index" asp-controller="CircleMembers">[Gérer les membres de vos cercles"]]</a>
|
||||
</dd>
|
||||
|
||||
<dt>@SR["Professional settings"]:</dt>
|
||||
<dt>Professional settings:</dt>
|
||||
<dd>
|
||||
@Html.DisplayFor(model => model.HaveProfessionalSettings)
|
||||
[<a asp-controller="Manage" asp-action="SetActivity"
|
||||
>@SR[Model.HaveProfessionalSettings?"Modify settings":"Set"]</a>]
|
||||
>Model.HaveProfessionalSettings?"Modify settings":"Set"</a>]
|
||||
</dd>
|
||||
@if (Model.HaveProfessionalSettings) {
|
||||
<dt>@SR["Activities"]:</dt>
|
||||
<dt>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>]
|
||||
>@Model.Activity==null?"Set":"Modify settings"</a>]
|
||||
</dd>
|
||||
}
|
||||
<dt>@SR["Bank info"]:</dt>
|
||||
<dt>Bank info:</dt>
|
||||
<dd>@Html.DisplayFor(m => m.BankInfo) [<a asp-controller="Manage" asp-action="AddBankInfo"
|
||||
>@SR[@Model.BankInfo==null?"Set":"Modify"]</a>]</dd>
|
||||
>@Model.BankInfo==null?"Set":"Modify"</a>]</dd>
|
||||
|
||||
<dt><a href="/Blog/@Model.UserName">@SR["Your posts"]:</a></dt>
|
||||
<dt><a href="/Blog/@Model.UserName">Your posts:</a></dt>
|
||||
<dd>@Model.PostsCounter</dd>
|
||||
|
||||
<dt>@SR["TwoFactorAuthentication"]:</dt>
|
||||
<dt>TwoFactorAuthentication:</dt>
|
||||
<dd>
|
||||
@if (Model.TwoFactor)
|
||||
{
|
||||
using (Html.BeginForm("DisableTwoFactorAuthentication", "Manage", FormMethod.Post, new { @class = "form-horizontal", role = "form" }))
|
||||
{
|
||||
@Html.AntiForgeryToken()
|
||||
<text>@SR["Enabled"]
|
||||
<input type="submit" value="[@SR["Disable"]]" class="btn btn-link" />
|
||||
<text>Enabled
|
||||
<input type="submit" value="[Disable"]]" class="btn btn-link" />
|
||||
</text>
|
||||
}
|
||||
}
|
||||
|
|
@ -127,25 +127,25 @@
|
|||
using (Html.BeginForm("EnableTwoFactorAuthentication", "Manage", FormMethod.Post, new { @class = "form-horizontal", role = "form" }))
|
||||
{
|
||||
@Html.AntiForgeryToken()
|
||||
<text>@SR["Disabled"]
|
||||
<input type="submit" value="[@SR["Enable"]]" class="btn btn-link" />
|
||||
<text>Disabled
|
||||
<input type="submit" value="[Enable"]]" class="btn btn-link" />
|
||||
</text>
|
||||
}
|
||||
}
|
||||
</dd>
|
||||
<dt>@SR["Calendar"]</dt>
|
||||
<dt>Calendar</dt>
|
||||
<dd>
|
||||
@SR[Model.HasDedicatedCalendar?"Yes":"No"]
|
||||
@Model.HasDedicatedCalendar?"Yes":"No"
|
||||
@if (Model.HasDedicatedCalendar) {
|
||||
<text> : @Model.DedicatedCalendarId </text>
|
||||
}
|
||||
[<a asp-action="SetGoogleCalendar">@SR["Select a Google calendar"]</a>]
|
||||
[<a asp-action="SetGoogleCalendar">Select a Google calendar</a>]
|
||||
</dd>
|
||||
<environment names="Development">
|
||||
<dt>Credits:</dt>
|
||||
<dd>
|
||||
@(Model.Balance?.Credits ?? 0) €
|
||||
[<a asp-action="Credits">@SR["Manage"]</a>]
|
||||
[<a asp-action="Credits">Manage</a>]
|
||||
</dd>
|
||||
</environment>
|
||||
|
||||
|
|
@ -167,6 +167,6 @@
|
|||
</dd>
|
||||
</dl>
|
||||
<h4>
|
||||
<a asp-controller="Account" asp-action="Delete" >@SR["Unregister"]</a>
|
||||
<a asp-controller="Account" asp-action="Delete" >Unregister</a>
|
||||
</h4>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -14,13 +14,13 @@
|
|||
@Html.DisplayFor(model => model)
|
||||
|
||||
<form id="FrmSetAct" asp-controller="Manage" asp-action="SetActivity" method="post" class="form-horizontal" role="form">
|
||||
<h4>@SR["Setup below your activity parameters"]:</h4>
|
||||
<h4>Setup below your activity parameters:</h4>
|
||||
<hr />
|
||||
<div asp-validation-summary="ValidationSummary.All" class="text-danger" id="valsum"></div>
|
||||
<div asp-validation-summary="All" class="text-danger" id="valsum"></div>
|
||||
|
||||
<div class="form-group">
|
||||
<label asp-for="AcceptNotifications" class="col-md-2 control-label">
|
||||
@SR["AcceptNotifications"]
|
||||
AcceptNotifications"]
|
||||
</label>
|
||||
<div class="col-md-10">
|
||||
<input asp-for="AcceptNotifications" class="form-control" />
|
||||
|
|
@ -29,7 +29,7 @@
|
|||
</div>
|
||||
<div class="form-group">
|
||||
|
||||
<label asp-for="AcceptPublicContact" class="col-md-2 control-label">@SR["AcceptPublicContact"]</label>
|
||||
<label asp-for="AcceptPublicContact" class="col-md-2 control-label">AcceptPublicContact</label>
|
||||
<div class="col-md-10">
|
||||
<input asp-for="AcceptPublicContact" class="form-control" />
|
||||
|
||||
|
|
@ -39,7 +39,7 @@
|
|||
<div class="form-group">
|
||||
|
||||
<label asp-for="UseGeoLocalizationToReduceDistanceWithClients" class="col-md-2 control-label">
|
||||
@SR["UseGeoLocalizationToReduceDistanceWithClients"]
|
||||
UseGeoLocalizationToReduceDistanceWithClients"]
|
||||
</label>
|
||||
<div class="col-md-10">
|
||||
<input asp-for="UseGeoLocalizationToReduceDistanceWithClients" class="form-control" />
|
||||
|
|
@ -49,7 +49,7 @@
|
|||
</div>
|
||||
<div class="form-group">
|
||||
|
||||
<label asp-for="WebSite" class="col-md-2 control-label">@SR["WebSite"]</label>
|
||||
<label asp-for="WebSite" class="col-md-2 control-label">WebSite</label>
|
||||
<div class="col-md-10">
|
||||
<input asp-for="WebSite" class="form-control" />
|
||||
|
||||
|
|
@ -58,7 +58,7 @@
|
|||
</div>
|
||||
<div class="form-group">
|
||||
|
||||
<label asp-for="MinDailyCost" class="col-md-2 control-label">@SR["MinDailyCost"]</label>
|
||||
<label asp-for="MinDailyCost" class="col-md-2 control-label">MinDailyCost</label>
|
||||
<div class="col-md-10">
|
||||
<input asp-for="MinDailyCost" class="form-control" />
|
||||
|
||||
|
|
@ -67,7 +67,7 @@
|
|||
</div>
|
||||
<div class="form-group">
|
||||
|
||||
<label asp-for="MaxDailyCost" class="col-md-2 control-label">@SR["MaxDailyCost"]</label>
|
||||
<label asp-for="MaxDailyCost" class="col-md-2 control-label">MaxDailyCost</label>
|
||||
<div class="col-md-10">
|
||||
<input asp-for="MaxDailyCost" class="form-control" />
|
||||
|
||||
|
|
@ -76,7 +76,7 @@
|
|||
</div>
|
||||
<div class="form-group">
|
||||
|
||||
<label asp-for="Active" class="col-md-2 control-label">@SR["ActivateMyProSettings"]</label>
|
||||
<label asp-for="Active" class="col-md-2 control-label">ActivateMyProSettings</label>
|
||||
<div class="col-md-10">
|
||||
<input asp-for="Active" class="form-control" />
|
||||
|
||||
|
|
@ -85,7 +85,7 @@
|
|||
</div>
|
||||
<div class="form-group">
|
||||
|
||||
<label asp-for="SIREN" class="col-md-2 control-label">@SR["SIREN"]</label>
|
||||
<label asp-for="SIREN" class="col-md-2 control-label">SIREN</label>
|
||||
<div class="col-md-10">
|
||||
<input asp-for="SIREN" class="form-control" />
|
||||
|
||||
|
|
@ -94,7 +94,7 @@
|
|||
</div>
|
||||
<div class="form-group">
|
||||
|
||||
<label asp-for="OrganizationAddress.Address" class="col-md-2 control-label">@SR["Address"]</label>
|
||||
<label asp-for="OrganizationAddress.Address" class="col-md-2 control-label">Address</label>
|
||||
<div class="col-md-10">
|
||||
<input asp-for="OrganizationAddress.Address" class="form-control" type="text" />
|
||||
|
||||
|
|
@ -108,15 +108,15 @@
|
|||
@Html.Hidden("OrganizationAddress.Latitude")
|
||||
@Html.Hidden("OrganizationAddress.Longitude")
|
||||
@Html.Hidden("PerformerId")
|
||||
<button type="submit" class="btn btn-default">@SR["Save these settings"]</button>
|
||||
<button type="submit" class="btn btn-default">Save these settings</button>
|
||||
|
||||
</form>
|
||||
|
||||
<a asp-controller="InstrumentRating" asp-action="Index">@SR["Instrumentation"]</a>
|
||||
<a asp-controller="InstrumentRating" asp-action="Index">Instrumentation</a>
|
||||
|
||||
<form asp-controller="Manage" asp-action="UnsetActivity" method="post" class="form-horizontal" role="form">
|
||||
@Html.Hidden("PerfomerId")
|
||||
<button type="submit" class="btn btn-default">@SR["UnsetActivity"]</button>
|
||||
<button type="submit" class="btn btn-default">UnsetActivity</button>
|
||||
</form>
|
||||
@section scripts {
|
||||
@{ await Html.RenderPartialAsync("_ValidationScriptsPartial"); }
|
||||
|
|
|
|||
|
|
@ -9,11 +9,11 @@
|
|||
}
|
||||
|
||||
<form asp-action="SetAddress">
|
||||
<div asp-validation-summary="ValidationSummary.All" class="text-danger" id="ValidationSummary"></div>
|
||||
<div asp-validation-summary="All" class="text-danger" id="ValidationSummary"></div>
|
||||
|
||||
<div class="form-group">
|
||||
|
||||
<label asp-for="Address" class="col-md-2 control-label">@SR["Address"]</label>
|
||||
<label asp-for="Address" class="col-md-2 control-label">Address</label>
|
||||
<div class="col-md-10">
|
||||
<input asp-for="Address" class="form-control" type="text" data-val-required="Spécifier un lieu" />
|
||||
|
||||
|
|
|
|||
|
|
@ -27,6 +27,6 @@ $(document).ready(function() {
|
|||
<div class="fallback">
|
||||
<input name="Avatar" type="file" id="Avatar" />
|
||||
</div>
|
||||
(@SR["IconWebUploadSpecification"])
|
||||
(IconWebUploadSpecification"])
|
||||
@Html.AntiForgeryToken()
|
||||
</form>
|
||||
|
|
|
|||
|
|
@ -5,18 +5,18 @@
|
|||
<h2>@ViewData["Title"]</h2>
|
||||
|
||||
<form asp-controller="Manage" asp-action="SetFullName" method="post" class="form-horizontal" role="form">
|
||||
<h4>@SR["Indicate below your full name"]:</h4>
|
||||
<h4>Indicate below your full name:</h4>
|
||||
<hr />
|
||||
<div asp-validation-summary="ValidationSummary.All" class="text-danger" id="valsum"></div>
|
||||
<div asp-validation-summary="All" class="text-danger" id="valsum"></div>
|
||||
|
||||
<div class="form-group">
|
||||
<label asp-for="FullName" class="col-md-2 control-label">
|
||||
@SR["Your full name"]
|
||||
Your full name"]
|
||||
</label>
|
||||
<div class="col-md-10">
|
||||
<input asp-for="FullName" class="form-control" />
|
||||
<span asp-validation-for="FullName" class="text-danger"></span>
|
||||
</div>
|
||||
</div>
|
||||
<button type="submit" class="form-control btn btn-default">@SR["Validate"]</button>
|
||||
<button type="submit" class="form-control btn btn-default">Validate</button>
|
||||
</form>
|
||||
|
|
|
|||
|
|
@ -21,8 +21,8 @@
|
|||
}
|
||||
<input type="radio" name="GoogleCalendarId" id="cal0">
|
||||
<label for="cal0">
|
||||
@SR["No calendar setup"]
|
||||
<i>"@SR["Do not use any Google calendar to determine my availability"]"</i>
|
||||
No calendar setup"]
|
||||
<i>"Do not use any Google calendar to determine my availability"]"</i>
|
||||
</label>
|
||||
@Html.Hidden("ReturnUrl")
|
||||
<input type="submit"/>
|
||||
|
|
|
|||
|
|
@ -11,7 +11,7 @@
|
|||
<form asp-controller="Manage" asp-action="SetPassword" asp-route-returnurl="@ViewData["ReturnUrl"]" method="post" class="form-horizontal" role="form">
|
||||
<h4>Set your password</h4>
|
||||
<hr />
|
||||
<div asp-validation-summary="ValidationSummary.All" class="text-danger"></div>
|
||||
<div asp-validation-summary="All" class="text-danger"></div>
|
||||
<div class="form-group">
|
||||
<label asp-for="NewPassword" class="col-md-2 control-label"></label>
|
||||
<div class="col-md-10">
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@
|
|||
<h4>Add a phone number.</h4>
|
||||
<h5>@ViewData["Status"]</h5>
|
||||
<hr />
|
||||
<div asp-validation-summary="ValidationSummary.All" class="text-danger"></div>
|
||||
<div asp-validation-summary="All" class="text-danger"></div>
|
||||
<div class="form-group">
|
||||
<label asp-for="Code" class="col-md-2 control-label"></label>
|
||||
<div class="col-md-10">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue