letzte fehlermeldung

This commit is contained in:
Martin Müller 2014-04-29 21:40:03 +02:00
parent 02c26da2c9
commit 29b850624d
2 changed files with 32 additions and 1 deletions

View File

@ -108,7 +108,7 @@ class JobController extends AppController {
$this->set('error', 'dreamjob.error.opening.notFound');
$this->render('/Home/error');
}elseif( $this->request->data['DreamjobJobOpening']['company_id'] != $a['AppUser']['id']){
$this->set('error', 'dreamjob.error.noPermission');
$this->set('error', 'dreamjob.error.noPermision');
$this->render('/Home/error');
}else{
$this->render('/Job/opening_edit');

View File

@ -1089,3 +1089,34 @@ msgstr ""
msgid "Debug setting does not allow access to this url."
msgstr ""
#
# Generierte Fehlermeldungen eigenarbeit!
#
# -
msgid "dreamjob.error.noPermision.title"
msgstr ""
msgid "dreamjob.error.noPermision.text"
msgstr ""
# -
msgid "dreamjob.error.noCompany.title"
msgstr ""
msgid "dreamjob.error.noCompany.text"
msgstr ""
# -
msgid "dreamjob.error.loggedin.title"
msgstr ""
msgid "dreamjob.error.loggedin.text"
msgstr ""
# -
msgid "dreamjob.error.opening.notFound.title"
msgstr ""
msgid "dreamjob.error.opening.notFound.text"
msgstr ""