|
|
@@ -7,16 +7,17 @@
|
|
|
College college_model = new College();
|
|
|
}
|
|
|
|
|
|
-<h2>Les collèges @Model.Annee_Lib</h2>
|
|
|
-
|
|
|
-<p>
|
|
|
- <a href="@Url.Action("Create", new { annee_id = Model.Obj.Id })">
|
|
|
- <span class="glyphicon glyphicon-plus-sign fa-2x color1" style="vertical-align: middle" aria-hidden="true"></span>
|
|
|
- Ajouter un nouveau collège
|
|
|
- </a>
|
|
|
-</p>
|
|
|
+<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)
|
|
|
@@ -47,41 +48,37 @@
|
|
|
</th>
|
|
|
</tr>
|
|
|
|
|
|
-@foreach (College college in Model.Obj.Colleges) {
|
|
|
- <tr>
|
|
|
- <td>
|
|
|
- @Html.ActionLink(college.CodeRne.ToString(), "Details", new { id = college.Id })
|
|
|
- </td>
|
|
|
- <td>
|
|
|
- @Html.DisplayFor(modelcollege => college.Libelle)
|
|
|
- </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>
|
|
|
-}
|
|
|
+ @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>
|
|
|
|
|
|
-<h3>Administation</h3>
|
|
|
-
|
|
|
-@Html.ActionLink("Types de collège", "Index", "TypeCollege")<br />
|
|
|
-@Html.ActionLink("Territoires", "Index", "Territoire")<br />
|