Merge remote-tracking branch 'origin/develop' into develop
commit
12d020909e
|
@ -389,10 +389,14 @@ const RoomSubList = React.createClass({
|
||||||
</Droppable> : subListContent;
|
</Droppable> : subListContent;
|
||||||
} else {
|
} else {
|
||||||
const Loader = sdk.getComponent("elements.Spinner");
|
const Loader = sdk.getComponent("elements.Spinner");
|
||||||
|
if (this.props.showSpinner) {
|
||||||
|
content = <Loader />;
|
||||||
|
}
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<div className="mx_RoomSubList">
|
<div className="mx_RoomSubList">
|
||||||
{this.props.alwaysShowHeader ? this._getHeaderJsx() : undefined}
|
{this.props.alwaysShowHeader ? this._getHeaderJsx() : undefined}
|
||||||
{(this.props.showSpinner && !this.state.hidden) ? <Loader /> : undefined}
|
{ this.state.hidden ? undefined : content }
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
|
@ -705,6 +705,13 @@ module.exports = React.createClass({
|
||||||
onShowMoreRooms={self.onShowMoreRooms} />
|
onShowMoreRooms={self.onShowMoreRooms} />
|
||||||
|
|
||||||
<RoomSubList list={self.state.lists['im.vector.fake.archived']}
|
<RoomSubList list={self.state.lists['im.vector.fake.archived']}
|
||||||
|
emptyContent={self.props.collapsed ? null :
|
||||||
|
<div className="mx_RoomList_emptySubListTip_container">
|
||||||
|
<div className="mx_RoomList_emptySubListTip">
|
||||||
|
{ _t('You have no historical rooms') }
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
}
|
||||||
label={_t('Historical')}
|
label={_t('Historical')}
|
||||||
editable={false}
|
editable={false}
|
||||||
order="recent"
|
order="recent"
|
||||||
|
@ -712,7 +719,7 @@ module.exports = React.createClass({
|
||||||
alwaysShowHeader={true}
|
alwaysShowHeader={true}
|
||||||
startAsHidden={true}
|
startAsHidden={true}
|
||||||
showSpinner={self.state.isLoadingLeftRooms}
|
showSpinner={self.state.isLoadingLeftRooms}
|
||||||
onHeaderClick= {self.onArchivedHeaderClick}
|
onHeaderClick={self.onArchivedHeaderClick}
|
||||||
incomingCall={self.state.incomingCall}
|
incomingCall={self.state.incomingCall}
|
||||||
searchFilter={self.props.searchFilter}
|
searchFilter={self.props.searchFilter}
|
||||||
onShowMoreRooms={self.onShowMoreRooms} />
|
onShowMoreRooms={self.onShowMoreRooms} />
|
||||||
|
|
|
@ -461,6 +461,7 @@
|
||||||
"People": "People",
|
"People": "People",
|
||||||
"Rooms": "Rooms",
|
"Rooms": "Rooms",
|
||||||
"Low priority": "Low priority",
|
"Low priority": "Low priority",
|
||||||
|
"You have no historical rooms": "You have no historical rooms",
|
||||||
"Historical": "Historical",
|
"Historical": "Historical",
|
||||||
"Unable to ascertain that the address this invite was sent to matches one associated with your account.": "Unable to ascertain that the address this invite was sent to matches one associated with your account.",
|
"Unable to ascertain that the address this invite was sent to matches one associated with your account.": "Unable to ascertain that the address this invite was sent to matches one associated with your account.",
|
||||||
"This invitation was sent to an email address which is not associated with this account:": "This invitation was sent to an email address which is not associated with this account:",
|
"This invitation was sent to an email address which is not associated with this account:": "This invitation was sent to an email address which is not associated with this account:",
|
||||||
|
|
Loading…
Reference in New Issue