| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384 |
- @using CD67.FicheCollege.MVC.Models
- @model AnneeViewModel
- @{
- ViewBag.Title = "Liste";
- Layout = "~/Views/Shared/_Layout.cshtml";
- College college_model = new College();
- }
- <header>
- <h2>Les collèges @Model.Annee_Lib</h2>
- <span>
- <a href="@Url.Action("Create", new { annee_id = Model.Obj.Id })"> <span class="glyphicon glyphicon-plus-sign color1"></span> Nouveau collège</a>
- <a href="@Url.Action("Index", "TypeCollege")"> <span class="glyphicon glyphicon-cog color1"></span> Types de collège</a>
- <a href="@Url.Action("Index", "Territoire")"> <span class="glyphicon glyphicon-cog color1"></span> Territoires</a>
- </span>
- </header>
- <table class="table">
- <caption> </caption>
- <tr>
- <th>
- @Html.DisplayNameFor(model => college_model.Id)
- </th>
- <th>
- @Html.DisplayNameFor(model => college_model.Libelle)
- </th>
- <th>
- @Html.DisplayNameFor(model => college_model.Adresse)
- </th>
- <th>
- @Html.DisplayNameFor(model => college_model.CDC)
- </th>
- <th>
- @Html.DisplayNameFor(model => college_model.Tel)
- </th>
- <th>
- @Html.DisplayNameFor(model => college_model.Fax)
- </th>
- <th>
- @Html.DisplayNameFor(model => college_model.Email)
- </th>
- <th>
- @Html.DisplayNameFor(model => college_model.Territoire.Libelle)
- </th>
- <th>
- @Html.DisplayNameFor(model => college_model.TypeCollege.Libelle)
- </th>
- </tr>
- @foreach (College college in Model.Obj.Colleges) {
- <tr>
- <td>
- @Html.ActionLink(college.CodeRne.ToString(), "Details", new { id = college.Id })
- </td>
- <td>
- @Html.ActionLink(college.Libelle.ToString(), "Details", new { id = college.Id })
- </td>
- <td>
- @Html.DisplayFor(modelcollege => college.AdresseComplete)
- </td>
- <td>
- @Html.DisplayFor(modelcollege => college.CDC)
- </td>
- <td>
- @Html.DisplayFor(modelcollege => college.Tel)
- </td>
- <td>
- @Html.DisplayFor(modelcollege => college.Fax)
- </td>
- <td>
- @Html.DisplayFor(modelcollege => college.Email)
- </td>
- <td>
- @Html.DisplayFor(modelcollege => college.Territoire.Libelle)
- </td>
- <td>
- @Html.DisplayFor(modelcollege => college.TypeCollege.Libelle)
- </td>
- </tr>
- }
- </table>
|