Subversion Repositories Applications.gtt

Compare Revisions

Ignore whitespace Rev 166 → Rev 167

/trunk/presentation/gestion.tpl.html
23,7 → 23,7
</thead>
<tbody>
<?php if ($bool_projets) : ?>
<?foreach ($preferences as $categorie => $projets):?>
<?php foreach ($preferences as $categorie => $projets):?>
<tr>
<td class="categorie"><?=$categorie;?></td>
<?php foreach ($elements[$s] as $num => $jour) : ?>
30,7 → 30,7
<td class="categorie_total pr" data-num-jour="<?=$num;?>"><?=$categorie_totaux[$categorie][$num];?></td>
<?php endforeach; ?>
</tr>
<?foreach ($projets as $projet):?>
<?php foreach ($projets as $projet):?>
<tr>
<td class="projet" title="<?=$projet['desc'];?>"><?=$projet['nom'];?></td>
<?php foreach ($elements[$s] as $num => $jour) : ?>
80,4 → 80,4
<?php else : ?>
<p class="information">Veuillez sélectionner des projets via le menu "Gestion de mes projets".</p>
<? endif;?>
</div>
</div>
/trunk/presentation/stat_tableau_charge.tpl.csv
2,11 → 2,11
Projets <?php foreach ($elements as $jour) : ?><?=$jour['jour_nom']?> <?=$jour['jour']?> <?php endforeach; ?>Total
<?php if (isset($projets)) : ?>
Travail <?php foreach ($elements as $jour) : ?><?=(!empty($jour['travail'])) ? $jour['travail'] : ' ';?> <?php endforeach; ?><?=$total_w;?>
<?foreach ($projets as $categorie => $pr):?>
<?php foreach ($projets as $categorie => $pr):?>
 
<?=$categorie;?> [<?=$categories[$categorie]['abreviation'];?>] <?php foreach ($elements as $jour_id => $jour) : ?><?=(isset($categories[$categorie][$jour_id])) ? $categories[$categorie][$jour_id] : ' ';?> <?php endforeach; ?><?=$categories[$categorie]['total'];?>
 
<?foreach ($pr as $id => $projet):?>
<?php foreach ($pr as $id => $projet):?>
<?=$projet['nom'];?> <?php foreach ($elements as $jour_id => $jour) : ?><?=(isset($projet['duree'][$jour_id])) ? $projet['duree'][$jour_id] : ' ';?> <?php endforeach; ?><?=(isset($projet['total'])) ? $projet['total'] : ' ';?>
 
<?php endforeach; ?><?php endforeach; ?><?php endif; ?>
19,4 → 19,4
 
<?php endforeach; ?><?php endif; ?>
Total <?php foreach ($elements as $jour) : ?><?=(!empty($jour['w_et_a'])) ? $jour['w_et_a'] : ' ';?> <?php endforeach; ?><?=$total;?>
<?php endif; ?>
<?php endif; ?>
/trunk/presentation/stat_tableau_global.tpl.csv
1,10 → 1,10
<?php if ($categories || $absences) : ?>Projets <?php foreach ($utilisateurs as $utilisateur) : ?><?=$utilisateur['prenom_nom']?> <?php endforeach; ?>Total
Travail <?php foreach ($utilisateurs as $utilisateur) : ?><?=(isset($utilisateur['total_w'])) ? $utilisateur['total_w'] : ' ';?> <?php endforeach; ?><?=$total_projets;?>
 
<?foreach ($categories as $idc => $categorie):?>
<?php foreach ($categories as $idc => $categorie):?>
<?=$categorie['nom'];?> [<?=$categorie['abreviation'];?>] <?php foreach ($utilisateurs as $utilisateur) : ?><?=(isset($utilisateur['projets'][$idc]['total'])) ? $utilisateur['projets'][$idc]['total'] : ' ';?> <?php endforeach; ?><?=$categorie['total'];?>
 
<?foreach ($categorie['projets'] as $idp => $projet):?><?=$projet['nom'];?> <?php foreach ($utilisateurs as $utilisateur) : ?><?=(isset($utilisateur['projets'][$idc][$idp])) ? $utilisateur['projets'][$idc][$idp]['duree'] : ' ';?> <?php endforeach; ?><?=$projet['total'];?>
<?php foreach ($categorie['projets'] as $idp => $projet):?><?=$projet['nom'];?> <?php foreach ($utilisateurs as $utilisateur) : ?><?=(isset($utilisateur['projets'][$idc][$idp])) ? $utilisateur['projets'][$idc][$idp]['duree'] : ' ';?> <?php endforeach; ?><?=$projet['total'];?>
 
<?php endforeach; ?><?php endforeach; ?><?php endif; ?>
<?php if ($absences) : ?>
16,4 → 16,4
<?php endforeach; ?>
<?php endif; ?>
Total <?php foreach ($utilisateurs as $utilisateur) : ?>
<?=(isset($utilisateur['total'])) ? $utilisateur['total'] : ' ';?> <?php endforeach; ?><?=$total_absences_projets;?>
<?=(isset($utilisateur['total'])) ? $utilisateur['total'] : ' ';?> <?php endforeach; ?><?=$total_absences_projets;?>
/trunk/presentation/stat_tableau_charge.tpl.html
41,7 → 41,7
<?php endforeach; ?>
<td class="total"><?=$total_w;?></td>
</tr>
<?foreach ($projets as $categorie => $pr):?>
<?php foreach ($projets as $categorie => $pr):?>
<tr class="categories <?=$ligne ; $ligne = ($ligne == "impair") ? "pair" : "impair" ;?>">
<th class="entete categories_titre"><?=$categorie;?> [<?=$categories[$categorie]['abreviation'];?>]</th>
<?php foreach ($elements as $jour_id => $jour) : ?>
49,7 → 49,7
<?php endforeach; ?>
<td class="total"><?=$categories[$categorie]['total'];?></td>
</tr>
<?foreach ($pr as $id => $projet):?>
<?php foreach ($pr as $id => $projet):?>
<tr class="projets <?=$ligne ; $ligne = ($ligne == "impair") ? "pair" : "impair" ;?>">
<th id="pr:<?=$id;?>" class="entete projet_nom" title="<?=$projet['desc'];?>"><?=$projet['nom'];?></th>
<?php foreach ($elements as $jour_id => $jour) : ?>
/trunk/presentation/stat_tableau_global.tpl.html
26,7 → 26,7
<?php endforeach; ?>
<td class="total"><?=$total_projets;?></td>
</tr>
<?foreach ($categories as $idc => $categorie):?>
<?php foreach ($categories as $idc => $categorie):?>
<tr class="categories">
<th class="categories_titre"><?=$categorie['nom'];?> [<?=$categorie['abreviation'];?>]</th>
<?php foreach ($utilisateurs as $utilisateur) : ?>
34,7 → 34,7
<?php endforeach; ?>
<td class="total"><?=$categorie['total'];?></td>
</tr>
<?foreach ($categorie['projets'] as $idp => $projet):?>
<?php foreach ($categorie['projets'] as $idp => $projet):?>
<tr class="utilisateur <?=$ligne ; $ligne = ($ligne == "impair") ? "pair" : "impair" ;?>">
<th id="pr:<?=$idp;?>" title="<?=$projet['desc'];?>"><?=$projet['nom'];?></th>
<?php foreach ($utilisateurs as $utilisateur) : ?>
78,4 → 78,4
<?php foreach ($messages as $message) : ?>
<p class="information"><?=$message;?></p>
<?php endforeach; ?>
<?php endif; ?>
<?php endif; ?>
/trunk/presentation/preferences.tpl.html
21,10 → 21,10
</tr>
</thead>
<tbody>
<?foreach ($preferences as $categorie => $projets):?>
<?php foreach ($preferences as $categorie => $projets):?>
<tr class="categories"><th colspan="8"><?=$categorie;?></th></tr>
<?php $ligne = "impair"; ?>
<?foreach ($projets as $projet):?>
<?php foreach ($projets as $projet):?>
<tr class="<?=$ligne ; $ligne = ($ligne == "impair") ? "pair" : "impair" ;?>">
<td class="check"><input id="pr:<?=$projet['id'];?>" name="pr:<?=$projet['id'];?>" value="<?=$projet['valeur'];?>" type="checkbox" <?=$projet['coche']?'checked="checked"':'';?>/></td>
<td class="pr_no"><?=$projet['no'];?></td>
58,4 → 58,4
<input class="btn_large" id="btn_valider_editer" name="btn_valider_editer" value="<?=$i18n_general_valider;?>" type="submit" />
</form>
</div>
<?php endif; ?>
<?php endif; ?>