mirror of https://github.com/vector-im/riot-web
Warn that members won't be invited to the new room in room settings
parent
5ded646db0
commit
788041a774
|
@ -14,6 +14,10 @@ See the License for the specific language governing permissions and
|
||||||
limitations under the License.
|
limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
.mx_SettingsTab_warningText {
|
||||||
|
color: $warning-color;
|
||||||
|
}
|
||||||
|
|
||||||
.mx_SettingsTab_heading {
|
.mx_SettingsTab_heading {
|
||||||
font-size: 20px;
|
font-size: 20px;
|
||||||
font-weight: 600;
|
font-weight: 600;
|
||||||
|
|
|
@ -67,9 +67,17 @@ export default class AdvancedRoomSettingsTab extends React.Component {
|
||||||
let roomUpgradeButton;
|
let roomUpgradeButton;
|
||||||
if (this.state.upgradeRecommendation && this.state.upgradeRecommendation.needsUpgrade) {
|
if (this.state.upgradeRecommendation && this.state.upgradeRecommendation.needsUpgrade) {
|
||||||
roomUpgradeButton = (
|
roomUpgradeButton = (
|
||||||
<AccessibleButton onClick={this._upgradeRoom} kind='primary'>
|
<div>
|
||||||
{_t("Upgrade room to version %(ver)s", {ver: this.state.upgradeRecommendation.version})}
|
<p className='mx_SettingsTab_warningText'>
|
||||||
</AccessibleButton>
|
{_t(
|
||||||
|
"Members of the room will be required to click a link to join the new room. No " +
|
||||||
|
"one will be automatically joined or invited to the new room.",
|
||||||
|
)}
|
||||||
|
</p>
|
||||||
|
<AccessibleButton onClick={this._upgradeRoom} kind='primary'>
|
||||||
|
{_t("Upgrade room to version %(ver)s", {ver: this.state.upgradeRecommendation.version})}
|
||||||
|
</AccessibleButton>
|
||||||
|
</div>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue