period
This commit is contained in:
parent
ffd744d86e
commit
259b0b15b5
19 changed files with 2664 additions and 41 deletions
15
Yavsc/Views/Shared/DisplayTemplates/Availability.cshtml
Normal file
15
Yavsc/Views/Shared/DisplayTemplates/Availability.cshtml
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
@model Availability
|
||||
|
||||
@if (Model==null || Model.Count <1) {
|
||||
<text>Pas de disponibilité renseignée</text>
|
||||
} else {
|
||||
<table>
|
||||
<th><td>@Html.DisplayNameFor(m=>m[0].Start)</td>
|
||||
<td>@Html.DisplayNameFor(m=>m[0].End)</td></th>
|
||||
@foreach (var dispo in Model)
|
||||
{
|
||||
<tr><td>@Html.DisplayFor(m=>dispo.Start)</td>
|
||||
<td>@Html.DisplayFor(m=>dispo.End)</td></tr>
|
||||
}
|
||||
</table>
|
||||
}
|
||||
3
Yavsc/Views/Shared/EditorTemplates/Availability.cshtml
Normal file
3
Yavsc/Views/Shared/EditorTemplates/Availability.cshtml
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
@model Availability
|
||||
|
||||
L'index des periodes ...
|
||||
Loading…
Add table
Add a link
Reference in a new issue