| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384 |
- @using CD67.FicheCollege.MVC.Models
- @model AnneeViewModel
- <title>Actions @Model.Annee_Lib</title>
- @{
- ViewBag.Title = "Actions " + @Model.Annee_Lib;
- Layout = "~/Views/Shared/_Layout.cshtml";
- ActionEdu action_model = new ActionEdu();
- }
- <header>
- <h2>Les Actions</h2>
- <span>
- <a href="@Url.Action("Create", new { annee_id = Model.Obj.Id })"> <span class="glyphicon glyphicon-plus-sign color1"></span> Nouvelle Action</a>
- <a class="start-trace" href="@Url.Action("Index", "ActionEduAxes")"> <span class="glyphicon glyphicon-cog color1"></span> Axes</a>
- <a class="start-trace" href="@Url.Action("Index", "ActionEduThematiques")"> <span class="glyphicon glyphicon-cog color1"></span> Thématiques</a>
- </span>
- </header>
- <table id="table-actions" class="datatable table">
- <thead>
- <tr>
- <th>
- @Html.DisplayNameFor(model => action_model.Numero)
- </th>
- <th>
- @Html.DisplayNameFor(model => action_model.Nom)
- </th>
- <th>
- Axe
- </th>
- <th>
- Thematique
- </th>
- <th>
- @Html.DisplayNameFor(model => action_model.Montant)
- </th>
- <th>
- Nb.Collèges
- </th>
- <th>
- Nb.Elèves
- </th>
- <th>
- @Html.DisplayNameFor(model => action_model.Neutralise)
- </th>
- </tr>
- </thead>
- <tbody>
- @foreach (ActionEdu item in Model.Obj.ActionsEdu.OrderBy(a => a.Ordre))
- {
- <tr data-url="@Url.Action("Details", new { id = item.Id })">
- <td>
- @Html.DisplayFor(model => item.Numero)
- </td>
- <td>
- @Html.DisplayFor(model => item.Nom)
- <noscript>
- @Html.ActionLink(" > Voir", "Details", new { id = item.Id })
- </noscript>
- </td>
- <td>
- @Html.DisplayFor(model => item.ActionEduThematique.ActionEduAxe.Nom)
- </td>
- <td>
- @Html.DisplayFor(model => item.ActionEduThematique.Nom)
- </td>
- <td data-order="@item.Montant">
- @Html.DisplayFor(model => item.Montant)
- </td>
- <td>
- @item.ActionsEduColleges.Count().ToString()
- </td>
- <td>
- @Html.DisplayFor(model => item.totalEleves)
- </td>
- <td>
- @Html.DisplayFor(model => item.Neutralise)
- </td>
- </tr>
- }
- </tbody>
- </table>
|