Merge remote-tracking branch 'origin/develop' into dbkr/error_messages
This commit is contained in:
commit
098f3e6561
1 changed files with 17 additions and 14 deletions
|
@ -469,10 +469,12 @@ module.exports = React.createClass({
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
var tagsSection = null;
|
||||||
|
if (canSetTag || self.state.tags) {
|
||||||
var tagsSection =
|
var tagsSection =
|
||||||
<div className="mx_RoomSettings_tags">
|
<div className="mx_RoomSettings_tags">
|
||||||
{ canSetTag ?
|
Tagged as: { canSetTag ?
|
||||||
("Tagged as: " + tags.map(function(tag, i) {
|
(tags.map(function(tag, i) {
|
||||||
return (<label key={ i }>
|
return (<label key={ i }>
|
||||||
<input type="checkbox"
|
<input type="checkbox"
|
||||||
ref={ tag.ref }
|
ref={ tag.ref }
|
||||||
|
@ -480,9 +482,10 @@ module.exports = React.createClass({
|
||||||
onChange={ self._onTagChange.bind(self, tag.name) }/>
|
onChange={ self._onTagChange.bind(self, tag.name) }/>
|
||||||
{ tag.label }
|
{ tag.label }
|
||||||
</label>);
|
</label>);
|
||||||
})) : (self.state.tags && self.state.tags.join) ? ("Tagged as: " +self.state.tags.join(", ")) : ""
|
})) : (self.state.tags && self.state.tags.join) ? self.state.tags.join(", ") : ""
|
||||||
}
|
}
|
||||||
</div>
|
</div>
|
||||||
|
}
|
||||||
|
|
||||||
// If there is no history_visibility, it is assumed to be 'shared'.
|
// If there is no history_visibility, it is assumed to be 'shared'.
|
||||||
// http://matrix.org/docs/spec/r0.0.0/client_server.html#id31
|
// http://matrix.org/docs/spec/r0.0.0/client_server.html#id31
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue