Changed title of Active Devices to Active Sessions; added help text explaining Active Sessions
Этот коммит содержится в:
@@ -102,8 +102,9 @@ module.exports = React.createClass({
|
|||||||
<div className="modal-content">
|
<div className="modal-content">
|
||||||
<div className="modal-header">
|
<div className="modal-header">
|
||||||
<button type="button" className="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button>
|
<button type="button" className="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button>
|
||||||
<h4 className="modal-title" id="myModalLabel">Active Devices</h4>
|
<h4 className="modal-title" id="myModalLabel">Active Sessions</h4>
|
||||||
</div>
|
</div>
|
||||||
|
<p className="session-help-text">Sessions are created when you log in with your email and password to a new browser on a device. Sessions let you use Mattermost for up to 30 days without having to log in again. If you want to log out sooner, use the "Logout" button below to end a session.</p>
|
||||||
<div ref="modalBody" className="modal-body">
|
<div ref="modalBody" className="modal-body">
|
||||||
<form role="form">
|
<form role="form">
|
||||||
{ activityList }
|
{ activityList }
|
||||||
|
|||||||
@@ -617,7 +617,7 @@ var SecurityTab = React.createClass({
|
|||||||
<br></br>
|
<br></br>
|
||||||
<a data-toggle="modal" className="security-links theme" data-target="#access-history" href="#" onClick={this.handleHistoryOpen}><i className="fa fa-clock-o"></i>View Access History</a>
|
<a data-toggle="modal" className="security-links theme" data-target="#access-history" href="#" onClick={this.handleHistoryOpen}><i className="fa fa-clock-o"></i>View Access History</a>
|
||||||
<b> </b>
|
<b> </b>
|
||||||
<a data-toggle="modal" className="security-links theme" data-target="#activity-log" href="#" onClick={this.handleDevicesOpen}><i className="fa fa-globe"></i>View and Logout of Active Devices</a>
|
<a data-toggle="modal" className="security-links theme" data-target="#activity-log" href="#" onClick={this.handleDevicesOpen}><i className="fa fa-globe"></i>View and Logout of Active Sessions</a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
|
|||||||
@@ -28,4 +28,7 @@
|
|||||||
.report__info {
|
.report__info {
|
||||||
color: #999;
|
color: #999;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
.session-help-text {
|
||||||
|
padding: 20px 20px 5px 20px;
|
||||||
}
|
}
|
||||||
Ссылка в новой задаче
Block a user