This commit is contained in:
Martin Müller 2014-05-01 11:34:11 +02:00
parent 450ae190b5
commit a2f89fe0e2
4 changed files with 23 additions and 6 deletions

View File

@ -1107,6 +1107,14 @@ msgstr ""
msgid "dreamjob.avatar"
msgstr ""
#
msgid "dreamjob.favority.adding"
msgstr ""
#
msgid "dreamjob.favority.removeing"
msgstr ""
#
# Generierte Fehlermeldungen eigenarbeit!
#

View File

@ -2,6 +2,5 @@
<?php
$url = $this->Html->url(array('controller' => 'registration', 'action' => 'active','code'=>$key,
'?'=>array('mail'=>$data['User']['mail']),'full_base' => true) );
echo $this->Html->link($url,array('controller' => 'registration', 'action' => 'active','code'=>$key,
'?'=>array('mail'=>$data['User']['mail']),'full_base' => true) );
echo $this->Html->link($url, $url);
?>

View File

@ -11,11 +11,21 @@
<?php echo $this->Form->create('DreamjobJobApplication',$default_Form); ?>
<fieldset>
<legend><?=__("dreamjob.application.form");?></legend>
<?=$WORKER['AppUser']['first_name'].' '.$WORKER['AppUser']['last_name'];?><br/>
<?=$WORKER['DreamjobUser']['street'];?><br/>
<?=$WORKER['DreamjobUser']['postcode'].' '.$WORKER['DreamjobListCity']['name'];?><br/>
<br/>
<br/>
<?=$opening['DreamjobCompany']['owner'];?><br/>
<?=$opening['AppUser']['nickname'];?><br/>
<?=$opening['DreamjobUser']['street'];?><br/>
<?=$opening['DreamjobUser']['postcode'].' '.$opening['DreamjobListCity']['name'];?><br/>
<br/>
<?php
//echo $this->Form->hidden('DreamjobJobApplication.id');
echo $this->Form->hidden('DreamjobJobApplication.opening_id');
echo $this->Form->hidden('DreamjobJobApplication.worker_id');
echo $this->Form->input('DreamjobJobApplication.subject',array('placeholder'=>__('dreamjob.opening.subject.placeholder'),'label'=>array('text'=>__("dreamjob.application.subject"),"class"=>$default_Form['inputDefaults']['label']['class']))).'<br/>';
echo $this->Form->text('DreamjobJobApplication.subject',array('label'=>false,'placeholder'=>__('dreamjob.opening.subject.placeholder'),'class'=>'form-control')).'<br/>';
echo $this->Form->textarea('DreamjobJobApplication.text',array("class"=>'form-control',"rows"=>10));
?>

View File

@ -28,10 +28,10 @@
echo $this->Html->link(__('dreamjob.my.application'),array('controller'=>'job','action'=>'applicationGet','id'=>$opening_inApp['id']));
else{
//TODO isFavority
$link='dreamjob.favority.adding';
$link=__('dreamjob.favority.adding');
if($fav)
$link='dreamjob.favority.removeing';
echo $this->Html->link(__($link),array('controller'=>'job','action'=>'openingGet','id'=>$opening['DreamjobJobOpening']['id'],'favorite'=>'favorite'));
$link=__('dreamjob.favority.removeing');
echo $this->Html->link($link,array('controller'=>'job','action'=>'openingGet','id'=>$opening['DreamjobJobOpening']['id'],'favorite'=>'favorite'));
}
?>
</span>