ajout d'utilisateurs aux cercles
This commit is contained in:
parent
22b998887e
commit
b4436e5c06
18 changed files with 1564 additions and 211 deletions
35
Yavsc/Views/CircleMembers/Index.cshtml
Normal file
35
Yavsc/Views/CircleMembers/Index.cshtml
Normal file
|
|
@ -0,0 +1,35 @@
|
|||
@model IEnumerable<Yavsc.Models.Relationship.CircleMember>
|
||||
|
||||
@{
|
||||
ViewData["Title"] = "Index";
|
||||
}
|
||||
|
||||
<h2>Index</h2>
|
||||
|
||||
<p>
|
||||
<a asp-action="Create">@SR["Ajouter un utilisateur à un cercle"]</a>
|
||||
</p>
|
||||
<table class="table">
|
||||
<tr>
|
||||
<th>@SR["Cercle"]</th>
|
||||
<th>@SR["Utilisateur"]</th>
|
||||
<th></th>
|
||||
</tr>
|
||||
|
||||
@foreach (var item in Model) {
|
||||
<tr>
|
||||
<td>
|
||||
@Html.DisplayFor(m=>item.Circle)
|
||||
</td>
|
||||
<td>
|
||||
@Html.DisplayFor(m=>item.Member)
|
||||
</td>
|
||||
|
||||
<td>
|
||||
@Html.ActionLink("Edit", "Edit", new { /* id=item.PrimaryKey */ }) |
|
||||
@Html.ActionLink("Details", "Details", new { /* id=item.PrimaryKey */ }) |
|
||||
@Html.ActionLink("Delete", "Delete", new { /* id=item.PrimaryKey */ })
|
||||
</td>
|
||||
</tr>
|
||||
}
|
||||
</table>
|
||||
Loading…
Add table
Add a link
Reference in a new issue