1 | <h1>Intervention de <?php echo $intervention->getIntervenant()->nom; ?></h1> |
---|
2 | <?php |
---|
3 | $section = $intervention->getSection(); |
---|
4 | $titre2 = $intervention->getSeance()->getTitre(0,0,$intervention->getMd5()); |
---|
5 | $titre2 .= ' <br/> '; |
---|
6 | if ($intervention->getType() == 'commission') { |
---|
7 | $orga = $intervention->getSeance()->getOrganisme(); |
---|
8 | $titre2 .= link_to($orga->getNom(), '@list_parlementaires_organisme?slug='.$orga->getSlug()); |
---|
9 | } |
---|
10 | if ($section->getSection()) { |
---|
11 | $titre2 .= link_to(ucfirst($section->getSection()->getTitre()), '@section?id='.$section->section_id); |
---|
12 | $titre2 .= ' - '; |
---|
13 | } |
---|
14 | if ($section->getTitre()) |
---|
15 | $titre2 .= link_to(ucfirst($section->getTitre()), '@section?id='.$section->id); |
---|
16 | if(count($amdmts) >= 1) |
---|
17 | $titre2 .= ', amendement'; |
---|
18 | if(count($amdmts) > 1) $titre2 .= 's'; |
---|
19 | $titre2 .= ' '; |
---|
20 | foreach($amdmts as $amdmt) |
---|
21 | $titre2 .= link_to($amdmt, '/amendements/'.(implode(',',$lois).'/'.$amdmt)).' '; |
---|
22 | |
---|
23 | ?> |
---|
24 | <h2><?php echo $titre2 ; ?></h2> |
---|
25 | <div class="interventions"> |
---|
26 | <?php echo include_component('intervention', 'parlementaireIntervention', array('intervention' => $intervention, 'complete' => true, 'lois' => $lois, 'amdmts' => $amdmts, 'section'=>$section)); ?> |
---|
27 | </div> |
---|