| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354 |
- @using CD67.FicheCollege.MVC.Models
- @model IdentiteViewModel
- @{
- ViewBag.Title = "Details";
- Layout = "~/Views/Shared/_Layout.cshtml";
- Identite identite = Model.Obj;
- }
- <h1>
- Indentité
- <br /><span>du @identite.College.Libelle</span>
- </h1>
- <fieldset>
- <legend>
- Les contacts
- @if (Model.Acces == ModeAcces.Lecture)
- {
- <div class="pull-right">
- @Html.ActionLink("Modifier", "Edit", "Identites", new { Id = identite.College.Id }, new { @class = "btn btn-default" })
- </div>
- }
- </legend>
- @if (Model.Contacts.Count == 0)
- {
- <text>Aucun contact défini</text>
- }
- else
- {
- <div class="flex-list">
- @foreach (var item in Model.Contacts)
- {
- <div style="width:400px !important">
- <div class="panel panel-default" style="overflow: hidden;">
- <div class="panel-heading clearfix">
- <h4 class="panel-title pull-left" style="padding-top: 7.5px;">
- <i class="fa fa-user color1" aria-hidden="true"></i>
- @Html.DisplayFor(model => item.Role)
- </h4>
- </div>
- <div class="panel-body" style="text-align: center;">
- <b>@Html.DisplayFor(model => item.Prenom) @Html.DisplayFor(model => item.Nom)</b><br />
- @Html.DisplayFor(model => item.Structure)<br />
- @Html.DisplayFor(model => item.Email)<br />
- Tel : @Html.DisplayFor(model => item.Tel)<br />
- </div>
- </div>
- </div>
- }
- </div>
- }
- </fieldset>
|