lebenslauf <-> profil-Kopf

This commit is contained in:
Martin Müller 2014-04-13 20:44:31 +02:00
parent cf44a07942
commit 6375ea62c9
1 changed files with 17 additions and 11 deletions

View File

@ -16,14 +16,6 @@ if($edit){
<?php
$inCat= -1;
foreach($cv as $cvc){
if ( $inCat != $cvc['DreamjobListCvCategory']['id'] ){
if($cvp0['DreamjobListCvCategory']['id'] != $cvc['DreamjobListCvCategory']['id']){
?>
<h4><?=$cvc['DreamjobListCvCategory']['name'];?></h4>
<table class="cv">
<?php
}else{
?>
<h4><?=$cvp0['DreamjobListCvCategory']['name'];?></h4>
<table class="cv">
@ -50,7 +42,21 @@ if($edit){
<td><?=__("dreamjob.country.worker");?></td>
<td><?=$profil['DreamjobWorker']['country'];?></td>
</tr>
<?php }
<?php
if(count($cv)==0){
?>
</table>
<?php
}
foreach($cv as $cvc){
if ( $inCat != $cvc['DreamjobListCvCategory']['id'] ){
if($cvp0['DreamjobListCvCategory']['id'] != $cvc['DreamjobListCvCategory']['id']){
?>
</table>
<h4><?=$cvc['DreamjobListCvCategory']['name'];?></h4>
<table class="cv">
<?php
}
$inCat = $cvc['DreamjobListCvCategory']['id'];
}
?>