Ignore:
Timestamp:
Sep 11, 2010, 5:58:35 PM (11 years ago)
Author:
roux
Message:

amélioration présentation page intervention individuelle

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpc/trunk/project/apps/frontend/modules/intervention/templates/showSuccess.php

    r825 r1349  
    11<h1>Intervention de <?php echo $intervention->getIntervenant()->nom; ?></h1>
    22<?php
    3 $section = $intervention->getSection();
    4 $titre2 = $intervention->getSeance()->getTitre(0,0,$intervention->getMd5());
     3$titre2 = $seance->getTitre(0,0,$intervention->getMd5());
    54$titre2 .= ' <br/> ';
    6 if ($intervention->getType() == 'commission') {
    7   $orga = $intervention->getSeance()->getOrganisme();
     5if (isset($orga))
    86  $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 .= '&nbsp;- ';
    13  }
     7if (isset($secparent))
     8  $titre2 .= link_to(ucfirst($secparent->getTitre()), '@section?id='.$section->section_id).'&nbsp;&mdash; ';
    149if ($section->getTitre())
    1510  $titre2 .= link_to(ucfirst($section->getTitre()), '@section?id='.$section->id);
Note: See TracChangeset for help on using the changeset viewer.