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'); ), 'error');
} }
return new TemplateResponse('registration', 'message', array('msgs' => return new TemplateResponse('registration', 'message', array('msg' =>
$this->l10n->t('Your account has been successfully created, you can <a href="{link}">log in now</a>.') 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'); ), 'guest');
} }
} }

View File

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