2014-04-16 18:24:34 +02:00
|
|
|
<?php
|
|
|
|
/*
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
$avatar = false;
|
|
|
|
$url = '';
|
2014-11-18 02:17:46 +01:00
|
|
|
if($company['AppUser']['avatar']){
|
|
|
|
$url = $MEDIA.DS.$company['AppUser']['avatar'];
|
|
|
|
$avatar = true;
|
2014-04-16 18:24:34 +02:00
|
|
|
}
|
2014-11-18 02:17:46 +01:00
|
|
|
|
2014-04-16 18:24:34 +02:00
|
|
|
?>
|
|
|
|
|
|
|
|
<div class="openingitem">
|
2014-04-23 19:23:23 +02:00
|
|
|
<h3><?=$company['AppUser']['nickname'];?></h3>
|
2014-04-16 18:24:34 +02:00
|
|
|
<div>
|
|
|
|
<?php if($avatar){ ?>
|
|
|
|
<div class="icon">
|
|
|
|
<div>
|
|
|
|
<img src="<?=$url;?>"/>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<?php
|
|
|
|
}else{
|
|
|
|
?>
|
|
|
|
<div class="noicon-title">
|
2014-04-23 19:23:23 +02:00
|
|
|
<span><?=$company['AppUser']['nickname'];?></span>
|
2014-04-16 18:24:34 +02:00
|
|
|
</div>
|
|
|
|
<?php } ?>
|
|
|
|
<div class="left">
|
|
|
|
<span><?=__("dreamjob.branch");?>: <?=$company['DreamjobListBranch']['name'];?></span>
|
2014-04-22 16:01:00 +02:00
|
|
|
<span><?=__("dreamjob.city");?>: <?=$company['DreamjobListCity']['name'];?></span>
|
2014-04-16 18:24:34 +02:00
|
|
|
</div>
|
|
|
|
<div class="right">
|
|
|
|
<div class="btn-group-vertical">
|
|
|
|
<?=$this->Html->link(__('dreamjob.company.detail'),array('controller'=>'user', 'action'=>'profil', 'id'=> $company['AppUser']['id']),array("class" => "btn btn-default"));?>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|