diff --git a/app/View/Elements/job_opening_item.ctp b/app/View/Elements/job_opening_item.ctp index 4dfee06..0905f28 100644 --- a/app/View/Elements/job_opening_item.ctp +++ b/app/View/Elements/job_opening_item.ctp @@ -38,10 +38,10 @@ if($opening['AppUser']['take_systemwide']){ Html->image($image,array('url' => array('controller'=>'job','action'=>'openingGet','id'=>$opening['DreamjobJobOpening']['id'],'favorite'=>'favorite'))); + if(!$opening_in_fav) + echo $this->Html->image('favority_off.png',array('url' => array('controller'=>'job','action'=>'openingGet','id'=>$opening['DreamjobJobOpening']['id'],'favorite'=>'favorite'))); + else + echo $this->Html->link('',array('controller'=>'job','action'=>'openingGet','id'=>$opening['DreamjobJobOpening']['id'],'favorite'=>'favorite'),array('style'=>'color:black;font-size:16px;margin-right:5px;','escape'=>false)); ?> diff --git a/app/webroot/img/favority_off.png b/app/webroot/img/favority_off.png index 4096c37..71c8b74 100755 Binary files a/app/webroot/img/favority_off.png and b/app/webroot/img/favority_off.png differ