FIXME Razor page errors
This commit is contained in:
parent
123283f277
commit
1a1f560ee4
234 changed files with 859 additions and 856 deletions
|
|
@ -1,16 +1,16 @@
|
|||
@model UserActivity
|
||||
|
||||
@{
|
||||
ViewData["Title"] = @SR["Create"];
|
||||
ViewData["Title"] = "Create";
|
||||
}
|
||||
|
||||
<h2>@SR["Create"]</h2>
|
||||
<h2>Create</h2>
|
||||
|
||||
<form asp-action="Create">
|
||||
<div class="form-horizontal">
|
||||
<h4>UserActivity</h4>
|
||||
<hr />
|
||||
<div asp-validation-summary="ValidationSummary.ModelOnly" class="text-danger"></div>
|
||||
<div asp-validation-summary="ModelOnly" class="text-danger"></div>
|
||||
|
||||
<input type="hidden" asp-for="UserId" />
|
||||
<div class="form-group">
|
||||
|
|
@ -38,6 +38,6 @@
|
|||
</form>
|
||||
|
||||
<div>
|
||||
<a asp-action="Index">@SR["Back to List"]</a>
|
||||
<a asp-action="Index">Back to List</a>
|
||||
</div>
|
||||
|
||||
|
|
|
|||
|
|
@ -1,16 +1,16 @@
|
|||
@model UserActivity
|
||||
|
||||
@{
|
||||
ViewData["Title"] = @SR["Create"];
|
||||
ViewData["Title"] = "Create";
|
||||
}
|
||||
|
||||
<h2>@SR["Create"]</h2>
|
||||
<h2>Create</h2>
|
||||
|
||||
<form asp-action="Create">
|
||||
<div class="form-horizontal">
|
||||
<h4>UserActivity</h4>
|
||||
<hr />
|
||||
<div asp-validation-summary="ValidationSummary.ModelOnly" class="text-danger"></div>
|
||||
<div asp-validation-summary="ModelOnly" class="text-danger"></div>
|
||||
|
||||
|
||||
<!-- <div class="form-group">
|
||||
|
|
@ -47,6 +47,6 @@
|
|||
</form>
|
||||
|
||||
<div>
|
||||
<a asp-action="Index">@SR["Back to List"]</a>
|
||||
<a asp-action="Index">Back to List</a>
|
||||
</div>
|
||||
|
||||
|
|
|
|||
|
|
@ -1,12 +1,12 @@
|
|||
@model UserActivity
|
||||
|
||||
@{
|
||||
ViewData["Title"] = @SR["Delete"];
|
||||
ViewData["Title"] = "Delete";
|
||||
}
|
||||
|
||||
<h2>@SR["Delete"]</h2>
|
||||
<h2>Delete</h2>
|
||||
|
||||
<h3>@SR["AreYourSureYouWantToDeleteThis"]</h3>
|
||||
<h3>AreYourSureYouWantToDeleteThis</h3>
|
||||
<div>
|
||||
<h4>UserActivity</h4>
|
||||
<hr />
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
@model UserActivityViewModel
|
||||
|
||||
@{
|
||||
ViewData["Title"] = SR["Details"];
|
||||
ViewData["Title"] = "Details";
|
||||
}
|
||||
|
||||
<h2>@ViewData["Title"]</h2>
|
||||
|
|
@ -10,7 +10,7 @@
|
|||
<h4>Détails de votre activité en <em>@Model.Declaration.Does.Name</em></h4>
|
||||
<hr />
|
||||
<dl class="dl-horizontal">
|
||||
<dt>@SR["Activity"]</dt>
|
||||
<dt>Activity</dt>
|
||||
<dd>@Html.DisplayFor(m=>m.Declaration.Does)
|
||||
@if (Model.NeedsSettings) {
|
||||
<a asp-controller="@ViewBag.ProfileType.Name" asp-action="Index" class="btn btn-default">
|
||||
|
|
@ -26,5 +26,5 @@
|
|||
</div>
|
||||
<p>
|
||||
<a asp-action="Edit" asp-route-id="@Model.Declaration.UserId" asp-route-activityCode="@Model.Declaration.DoesCode">Edit</a> |
|
||||
<a asp-action="Index">@SR["Back to List"]</a>
|
||||
<a asp-action="Index">Back to List</a>
|
||||
</p>
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
@model UserActivity
|
||||
@{ ViewData["Title"] = "Edit"; }
|
||||
|
||||
<h2>@SR["Edit"]</h2>
|
||||
<h2>Edit</h2>
|
||||
|
||||
<form asp-action="Edit">
|
||||
<div class="form-horizontal">
|
||||
|
|
@ -26,5 +26,5 @@
|
|||
</form>
|
||||
|
||||
<div>
|
||||
<a asp-action="Index">@SR["Back to List"]</a>
|
||||
<a asp-action="Index">Back to List</a>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -1,19 +1,19 @@
|
|||
@model IEnumerable<UserActivity>
|
||||
|
||||
@{
|
||||
ViewData["Title"] = @SR["Index"];
|
||||
ViewData["Title"] = "Index";
|
||||
}
|
||||
|
||||
<h2>@SR["Index"]</h2>
|
||||
<h2>Index</h2>
|
||||
|
||||
<p>
|
||||
<a asp-action="Create">@SR["Create New"]</a>
|
||||
<a asp-action="Create">Create New</a>
|
||||
</p>
|
||||
<table class="table">
|
||||
<tr>
|
||||
<th>@SR["Activity"]</th>
|
||||
<th>@SR["Weight"]</th>
|
||||
<th>@SR["Settings"]</th>
|
||||
<th>Activity</th>
|
||||
<th>Weight</th>
|
||||
<th>Settings</th>
|
||||
</tr>
|
||||
|
||||
@foreach (var item in Model) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue