Merge pull request #4987 from pichalite/register-page

minor design tweaks to register page
v1.18.x
Barış Soner Uşaklı 9 years ago committed by GitHub
commit 559b01afac

@ -6,7 +6,7 @@
define('forum/register', ['translator'], function(translator) { define('forum/register', ['translator'], function(translator) {
var Register = {}, var Register = {},
validationError = false, validationError = false,
successIcon = '<i class="fa fa-check"></i>'; successIcon = '';
Register.init = function() { Register.init = function() {
var email = $('#email'), var email = $('#email'),
@ -211,8 +211,8 @@ define('forum/register', ['translator'], function(translator) {
translator.translate(msg, function(msg) { translator.translate(msg, function(msg) {
element.html(msg); element.html(msg);
element.parent() element.parent()
.removeClass('alert-success') .removeClass('register-success')
.addClass('alert-danger'); .addClass('register-danger');
element.show(); element.show();
}); });
validationError = true; validationError = true;
@ -222,8 +222,8 @@ define('forum/register', ['translator'], function(translator) {
translator.translate(msg, function(msg) { translator.translate(msg, function(msg) {
element.html(msg); element.html(msg);
element.parent() element.parent()
.removeClass('alert-danger') .removeClass('register-danger')
.addClass('alert-success'); .addClass('register-success');
element.show(); element.show();
}); });
} }

Loading…
Cancel
Save