Merge pull request #260 from rgarmsen2295/mm-1724

MM-1724 Changed title of Active Devices to Active Sessions and added help text explaining Active Sessions
Этот коммит содержится в:
Joram Wilander
2015-07-28 09:54:17 -04:00
родитель 3a29713537 539a05a6bd
Коммит 94b905aff5
3 изменённых файлов: 6 добавлений и 2 удалений

Просмотреть файл

@@ -102,8 +102,9 @@ module.exports = React.createClass({
<div className="modal-content">
<div className="modal-header">
<button type="button" className="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
<h4 className="modal-title" id="myModalLabel">Active Devices</h4>
<h4 className="modal-title" id="myModalLabel">Active Sessions</h4>
</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">
<form role="form">
{ activityList }

Просмотреть файл

@@ -617,7 +617,7 @@ var SecurityTab = React.createClass({
<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>
<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>
);

Просмотреть файл

@@ -28,4 +28,7 @@
.report__info {
color: #999;
}
}
.session-help-text {
padding: 20px 20px 5px 20px;
}