#254:Tooltip

This commit is contained in:
Martin Müller 2014-05-11 09:58:54 +02:00
parent 458d6bcacf
commit e08cf999f3
3 changed files with 11 additions and 6 deletions

View File

@ -482,6 +482,7 @@ msgstr ""
msgid "dreamjob.my.application"
msgstr ""
#: View/Job/application.ctp:16
#: View/User/company.ctp:111;113;132
msgid "dreamjob.opening"
@ -1133,6 +1134,10 @@ msgid "dreamjob.application.send.error"
msgstr ""
msgid "dreamjob.my.profil"
msgstr ""
#

View File

@ -24,14 +24,14 @@ if($isLoggedin){
</style>
<ul class="list-unstyled">
<li<?php if(isset($MENU_PROFIL)){?> class="active"<?php } ?>><?=$this->Html->image('bar-profil.png',array('url'=>array('controller'=>'user','action'=>'profil'))); ?></li>
<li<?php if(isset($MENU_PROFIL)){?> class="active"<?php } ?>><?=$this->Html->link($this->Html->image('bar-profil.png'),array('controller'=>'user','action'=>'profil'),array('title'=>__('dreamjob.my.profil'))); ?></li>
<?php if(!empty($COMPANY)){ ?>
<li<?php if(isset($MENU_OPENING)){?> class="active"<?php } ?>><?=$this->Html->image('bar-job.png',array('url'=>array('controller'=>'job','action'=>'openingList'))); ?></li>
<li<?php if(isset($MENU_OPENING)){?> class="active"<?php } ?>><?=$this->Html->link($this->Html->image('bar-job.png'),array('controller'=>'job','action'=>'openingList'),array('title'=>__('dreamjob.my.opening'))); ?></li>
<?php }elseif(!empty($WORKER)){ ?>
<li<?php if(isset($MENU_APPLICATION)){?> class="active"<?php } ?>><?=$this->Html->image('bar-job.png',array('url'=>array('controller'=>'job','action'=>'applicationList'))); ?></li>
<li<?php if(isset($MENU_FAVORITY)){?> class="active"<?php } ?>><?=$this->Html->image('bar-favority.png',array('url'=>array('controller'=>'job','action'=>'favorite'))); ?></li>
<li<?php if(isset($MENU_APPLICATION)){?> class="active"<?php } ?>><?=$this->Html->link($this->Html->image('bar-job.png'),array('controller'=>'job','action'=>'applicationList'),array('title'=>__('dreamjob.my.application'))); ?></li>
<li<?php if(isset($MENU_FAVORITY)){?> class="active"<?php } ?>><?=$this->Html->link($this->Html->image('bar-favority.png'),array('controller'=>'job','action'=>'favorite'),array('title'=>__('dreamjob.my.favority'))); ?></li>
<?php } ?>
<li<?php if(isset($MENU_SETTINGS)){?> class="active"<?php } ?>><?=$this->Html->image('bar-settings.png',array('url'=>array('controller'=>'user','action'=>'settings_account'))); ?></li>
<li<?php if(isset($MENU_SETTINGS)){?> class="active"<?php } ?>><?=$this->Html->link($this->Html->image('bar-settings.png'),array('controller'=>'user','action'=>'settings_account'),array('title'=>__('dreamjob.my.settings'))); ?></li>
</ul>
<?php
}elseif(!empty($MENU_START)){

View File

@ -45,7 +45,7 @@
$(this).select2({allowClear: true});
});
$(where+' .dropdown-toggle').dropdown();
$(where+" a").tooltip();;
$(where+" a").each(function(that){
if($(this).attr("rel")!=="external" && $(this).attr("ref")!=="eventOff" && !$(this).parents('ul').hasClass("wysihtml5-toolbar") && !$(this).hasClass(".select2-choice"))
$(this).click(function(e){