Merge pull request #2117 from matrix-org/dbkr/show_room_version
Show room version number in room settings
This commit is contained in:
commit
4c69c8d0f1
2 changed files with 5 additions and 2 deletions
|
@ -1,6 +1,7 @@
|
|||
/*
|
||||
Copyright 2015, 2016 OpenMarket Ltd
|
||||
Copyright 2017 Vector Creations Ltd
|
||||
Copyright 2018 New Vector Ltd
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
|
@ -1039,7 +1040,8 @@ module.exports = React.createClass({
|
|||
|
||||
<h3>{ _t('Advanced') }</h3>
|
||||
<div className="mx_RoomSettings_settings">
|
||||
{ _t('This room\'s internal ID is') } <code>{ this.props.room.roomId }</code>
|
||||
{ _t('Internal room ID: ') } <code>{ this.props.room.roomId }</code><br />
|
||||
{ _t('Room version number: ') } <code>{ this.props.room.getVersion() }</code>
|
||||
</div>
|
||||
</div>
|
||||
);
|
||||
|
|
|
@ -540,7 +540,8 @@
|
|||
"Members only (since they joined)": "Members only (since they joined)",
|
||||
"Permissions": "Permissions",
|
||||
"Advanced": "Advanced",
|
||||
"This room's internal ID is": "This room's internal ID is",
|
||||
"Internal room ID: ": "Internal room ID: ",
|
||||
"Room version number: ": "Room version number: ",
|
||||
"Add a topic": "Add a topic",
|
||||
"Search…": "Search…",
|
||||
"This Room": "This Room",
|
||||
|
|
Loading…
Reference in a new issue