| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748 |
- @using CD67.FicheCollege.MVC.Models
- @model CollegeViewModel
- @{
- ViewBag.Title = "Details";
- Layout = "~/Views/Shared/_Layout.cshtml";
- ActionCLAS contenu = Model.Contenu as ActionCLAS;
- }
- <!-- Menu de niveau 2 -->
- <div>
- <ul id="menu-l2">
- <li id="li-menu-l2"><a id="a-li-menu-l2" class="btn-sm" href="@Url.Action("Details", "Colleges", new { Id = Model.College_Id })">Général</a></li>
- <li id="li-menu-l2"><a id="a-li-menu-l2" class="btn-sm" href="@Url.Action("Details", "Identites", new { Id = Model.College_Id })/">Identité</a></li>
- <li id="li-menu-l2"><a id="a-li-menu-l2-active" class="btn-sm" href="@Url.Action("Details", "ActionsCLAS", new { Id = Model.College_Id })/">Actions</a></li>
- </ul>
- </div>
- <h1>@Model.College_Libelle</h1>
- <fieldset>
- <legend>
- Actions CLAS
- @if (Model.Acces == ModeAcces.Lecture)
- {
- <div class="pull-right">
- @Html.ActionLink("Modifier", "Edit", "ActionsCLAS", new { Id = Model.College_Id }, new { @class = "btn btn-default" })
- </div>
- }
- </legend>
- <dl class="dl-horizontal">
- <dt>
- @Html.DisplayNameFor(model => contenu.Action)
- </dt>
- <dd>
- @Html.DisplayFor(model => contenu.Action)
- </dd>
- <dt>
- @Html.DisplayNameFor(model => contenu.Commentaire)
- </dt>
- <dd style="white-space: pre-line;">@Html.DisplayFor(model => contenu.Commentaire)</dd>
- </dl>
- </fieldset>
|