bild ansehen bug ... bei no systemwide
This commit is contained in:
parent
11bfda4758
commit
fc43b54982
|
@ -7,10 +7,10 @@
|
|||
<div class="bar avatar">
|
||||
<?php
|
||||
$url='/img/icon_user.png';
|
||||
if($profil['AppUser']['take_systemwide'])
|
||||
if($profil['AppUser']['take_systemwide']){
|
||||
if($profil['User']['avatar'])
|
||||
$url = $MEDIA.DS.$profil['User']['avatar'];
|
||||
else
|
||||
}else
|
||||
if($profil['AppUser']['avatar'])
|
||||
$url = $MEDIA.DS.$profil['AppUser']['avatar'];
|
||||
|
||||
|
@ -49,4 +49,4 @@
|
|||
<?=$this->Html->link('<span class="glyphicon glyphicon-print"></span> '.__('dreamjob.application.mappePDF'),array('controller'=>'pdf','action'=>'applicationGetPdf','id'=>$application['DreamjobJobApplication']['id']),array('class'=>'btn btn-default btn-sm','escape'=>false,'style'=>'bottom:10px;right:15px;position:absolute;','rel'=>'external','target'=>'_blank'));?>
|
||||
<?php } ?>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
|
@ -26,10 +26,10 @@
|
|||
<div class="icon">
|
||||
<?php
|
||||
$url='/img/icon_user.png';
|
||||
if($profil[$AppUser]['take_systemwide'])
|
||||
if($profil[$AppUser]['take_systemwide']){
|
||||
if($profil[$User]['avatar'])
|
||||
$url = $MEDIA.DS.$profil[$User]['avatar'];
|
||||
else
|
||||
}else
|
||||
if($profil[$AppUser]['avatar'])
|
||||
$url = $MEDIA.DS.$profil[$AppUser]['avatar'];
|
||||
|
||||
|
@ -75,4 +75,4 @@
|
|||
?>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
Loading…
Reference in New Issue