Fixes #908: narrow inVerse login form when allow_registration
is false
.
This commit is contained in:
parent
eef483cb4d
commit
4da4131003
@ -4,8 +4,9 @@
|
|||||||
|
|
||||||
### Bugfixes
|
### Bugfixes
|
||||||
- Various IE11 fixes.
|
- Various IE11 fixes.
|
||||||
- Translations written as template literals [aren't parsed properly by xgettext](https://savannah.gnu.org/bugs/?50920).
|
- #908 Login form for inVerse is only 200px when `allow_registration` is set to `false`.
|
||||||
- Fix regarding ChatRoomView.getDefaultNickName() and muc_nickname_from_jid
|
- #909 Translations written as template literals [aren't parsed properly by xgettext](https://savannah.gnu.org/bugs/?50920).
|
||||||
|
- #911 Use `getDefaultNickName` consistently to allow better overrides via plugins.
|
||||||
|
|
||||||
## 3.2.0 (2017-08-09)
|
## 3.2.0 (2017-08-09)
|
||||||
|
|
||||||
|
@ -65,16 +65,16 @@
|
|||||||
|
|
||||||
renderRegistrationPanel () {
|
renderRegistrationPanel () {
|
||||||
this.__super__.renderRegistrationPanel.apply(this, arguments);
|
this.__super__.renderRegistrationPanel.apply(this, arguments);
|
||||||
|
if (this.__super__._converse.allow_registration) {
|
||||||
const el = document.getElementById('converse-register');
|
const el = document.getElementById('converse-register');
|
||||||
el.parentNode.insertBefore(createBrandHeadingElement(), el);
|
el.parentNode.insertBefore(createBrandHeadingElement(), el);
|
||||||
|
}
|
||||||
return this;
|
return this;
|
||||||
},
|
},
|
||||||
|
|
||||||
renderLoginPanel () {
|
renderLoginPanel () {
|
||||||
this.__super__.renderLoginPanel.apply(this, arguments);
|
this.__super__.renderLoginPanel.apply(this, arguments);
|
||||||
this.el.classList.add("fullscreen");
|
this.el.classList.add("fullscreen");
|
||||||
|
|
||||||
const el = document.getElementById('converse-login');
|
const el = document.getElementById('converse-login');
|
||||||
el.parentNode.insertBefore(createBrandHeadingElement(), el);
|
el.parentNode.insertBefore(createBrandHeadingElement(), el);
|
||||||
return this;
|
return this;
|
||||||
|
Loading…
Reference in New Issue
Block a user