Skip to content

Commit

Permalink
affichage correcte du nom/prenom ou du login si indisponible dans le …
Browse files Browse the repository at this point in the history
…template index de l'annuaire

git-svn-id: https://svn.iariss.fr/erp@145 55463ab2-4f42-40d6-a48e-481de4af6215
  • Loading branch information
m.mure authored and MichaelMure committed Jun 4, 2011
1 parent 471cdd2 commit c9f8a4d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/frontend/modules/annuaire/templates/indexSuccess.php
Expand Up @@ -32,7 +32,7 @@ function getClass($filiere)
<tbody>
<?php foreach ($membres as $membre): ?>
<tr class='<?php echo $membre->getStatus() ?>'>
<td><?php if($user->isAdmin() || $membre->getId() == $user->getId()) echo link_to($membre->getPrenom().' '.$membre->getNom(), '@annuaire?action=show&id='.$membre->getId());
<td><?php if($user->isAdmin() || $membre->getId() == $user->getId()) echo link_to($membre, '@annuaire?action=show&id='.$membre->getId());
else echo $membre->getPrenom().' '.$membre->getNom(); ?></td>
<td><?php echo $membre->getPoste() ?></td>
<td><?php echo $membre->getTelMobile() ?></td>
Expand Down

0 comments on commit c9f8a4d

Please sign in to comment.