neue favoriten

This commit is contained in:
Martin Müller 2014-05-11 09:43:25 +02:00
parent 2b175ffba1
commit c6a64573b7
2 changed files with 4 additions and 4 deletions

View File

@ -38,10 +38,10 @@ if($opening['AppUser']['take_systemwide']){
<?php if(!$opening_in_app){ ?> <?php if(!$opening_in_app){ ?>
<span style="float: right;margin-right:60px;"> <span style="float: right;margin-right:60px;">
<?php <?php
$image='favority_off.png'; if(!$opening_in_fav)
if($opening_in_fav) echo $this->Html->image('favority_off.png',array('url' => array('controller'=>'job','action'=>'openingGet','id'=>$opening['DreamjobJobOpening']['id'],'favorite'=>'favorite')));
$image='favority_on.png'; else
echo $this->Html->image($image,array('url' => array('controller'=>'job','action'=>'openingGet','id'=>$opening['DreamjobJobOpening']['id'],'favorite'=>'favorite'))); echo $this->Html->link('<span class="glyphicon glyphicon-trash"></span>',array('controller'=>'job','action'=>'openingGet','id'=>$opening['DreamjobJobOpening']['id'],'favorite'=>'favorite'),array('style'=>'color:black;font-size:16px;margin-right:5px;','escape'=>false));
?> ?>
</span> </span>
<?php } ?> <?php } ?>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.5 KiB

After

Width:  |  Height:  |  Size: 4.2 KiB