Fix account create success message

This commit is contained in:
Pellaeon Lin 2014-10-22 14:37:20 +08:00
parent 3442085dc0
commit 79a0ace565
2 changed files with 8 additions and 2 deletions

View File

@ -146,8 +146,10 @@ class RegisterController extends Controller {
))
), 'error');
}
return new TemplateResponse('registration', 'message', array('msgs' =>
$this->l10n->t('Your account has been successfully created, you can <a href="{link}">log in now</a>.')
return new TemplateResponse('registration', 'message', array('msg' =>
str_replace('{link}',
$this->urlgenerator->getAbsoluteURL('/'),
$this->l10n->t('Your account has been successfully created, you can <a href="{link}">log in now</a>.'))
), 'guest');
}
}

View File

@ -21,6 +21,10 @@
color: white;
margin: 5px;
}
.msg a {
color: white;
text-decoration: underline;
}
.groupofone {
position: relative;