@using CD67.FicheCollege.MVC.Models
@model AnneeViewModel
Actions @Model.Annee_Lib
@{
ViewBag.Title = "Actions " + @Model.Annee_Lib;
Layout = "~/Views/Shared/_Layout.cshtml";
ActionEdu action_model = new ActionEdu();
int cur_axe_id = -1;
int cur_th_id = -1;
}
Les Actions
@foreach (ActionEdu item in Model.Obj.ActionsEdu.OrderBy(a => a.ActionEduThematique.ActionEduAxe.Ordre).ThenBy(a => a.ActionEduThematique.Ordre).ThenBy(a => a.Ordre))
{
if (item.ActionEduThematique.ActionEduAxe.Id != cur_axe_id){
cur_axe_id = item.ActionEduThematique.ActionEduAxe.Id;
@item.ActionEduThematique.ActionEduAxe.Nom
}
if (item.ActionEduThematique.Id != cur_th_id)
{
cur_th_id = item.ActionEduThematique.Id;
@item.ActionEduThematique.Nom
}
}
Administration
- @Html.ActionLink("Les axes", "Index", "ActionEduAxes")
- @Html.ActionLink("Les thématiques", "Index", "ActionEduThematiques")