Improving channel notifications

Этот коммит содержится в:
Asaad Mahmood
2015-07-17 22:09:25 +05:00
родитель 30239d255a
Коммит 665dff3f6d

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

@@ -97,7 +97,7 @@ module.exports = React.createClass({
var inputs = []; var inputs = [];
inputs.push( inputs.push(
<div className="col-sm-12"> <div>
<div className="radio"> <div className="radio">
<label> <label>
<input type="radio" checked={notifyActive[0]} onClick={function(){self.handleRadioClick("all")}}>For all activity</input> <input type="radio" checked={notifyActive[0]} onClick={function(){self.handleRadioClick("all")}}>For all activity</input>
@@ -158,7 +158,7 @@ module.exports = React.createClass({
var inputs = []; var inputs = [];
inputs.push( inputs.push(
<div className="col-sm-12"> <div>
<div className="btn-group" data-toggle="buttons-radio"> <div className="btn-group" data-toggle="buttons-radio">
<button className={"btn btn-default "+quietActive[0]} onClick={function(){self.handleQuietToggle(true)}}>On</button> <button className={"btn btn-default "+quietActive[0]} onClick={function(){self.handleQuietToggle(true)}}>On</button>
<button className={"btn btn-default "+quietActive[1]} onClick={function(){self.handleQuietToggle(false)}}>Off</button> <button className={"btn btn-default "+quietActive[1]} onClick={function(){self.handleQuietToggle(false)}}>Off</button>
@@ -167,7 +167,7 @@ module.exports = React.createClass({
); );
inputs.push( inputs.push(
<div className="col-sm-12"> <div>
<br/> <br/>
Enabling quiet mode will turn off desktop notifications and only mark the channel as unread if you have been mentioned. Enabling quiet mode will turn off desktop notifications and only mark the channel as unread if you have been mentioned.
</div> </div>