mirror of
https://github.com/element-hq/element-web
synced 2024-11-26 19:26:04 +03:00
prettify tag ui
This commit is contained in:
parent
e141a44103
commit
80416fe583
1 changed files with 2 additions and 3 deletions
|
@ -471,9 +471,8 @@ module.exports = React.createClass({
|
||||||
|
|
||||||
var tagsSection =
|
var tagsSection =
|
||||||
<div className="mx_RoomSettings_tags">
|
<div className="mx_RoomSettings_tags">
|
||||||
Tagged as:
|
|
||||||
{ canSetTag ?
|
{ canSetTag ?
|
||||||
tags.map(function(tag, i) {
|
("Tagged as: " + 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 }
|
||||||
|
@ -481,7 +480,7 @@ 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) ? self.state.tags.join(", ") : "None"
|
})) : (self.state.tags && self.state.tags.join) ? ("Tagged as: " +self.state.tags.join(", ")) : ""
|
||||||
}
|
}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue