Turn notimestamp into a positive setting (showtimestamp)

This commit is contained in:
Lorenz Hübschle-Schneider 2014-05-28 20:03:17 +01:00
parent ce2a4e89da
commit f374bebc4e
2 changed files with 6 additions and 6 deletions

View file

@ -231,7 +231,7 @@ $ openssl req -nodes -newkey rsa:4096 -keyout relay.pem -x509 -days 365 -out rel
</li> </li>
</ul> </ul>
</div> </div>
<table ng-class="{'notimestamp':notimestamp}"> <table ng-class="{'notimestamp':!showtimestamp}">
<tbody> <tbody>
<tr class="bufferline"> <tr class="bufferline">
<td ng-hide="activeBuffer().allLinesFetched" colspan="3"> <td ng-hide="activeBuffer().allLinesFetched" colspan="3">
@ -290,8 +290,8 @@ $ openssl req -nodes -newkey rsa:4096 -keyout relay.pem -x509 -days 365 -out rel
<form class="form-inline" role="form"> <form class="form-inline" role="form">
<div class="checkbox"> <div class="checkbox">
<label> <label>
<input type="checkbox" ng-model="notimestamp"> <input type="checkbox" ng-model="showtimestamp">
Hide timestamps Show timestamps
</label> </label>
</div> </div>
</form> </form>

View file

@ -786,7 +786,7 @@ weechat.controller('WeechatCtrl', ['$rootScope', '$scope', '$store', '$timeout',
// We use 968 px as the cutoff, which should match the value in glowingbear.css // We use 968 px as the cutoff, which should match the value in glowingbear.css
var nonicklist = false; var nonicklist = false;
var noembed = false; var noembed = false;
var notimestamp = false; var showtimestamp = true;
$rootScope.wasMobileUi = false; $rootScope.wasMobileUi = false;
@ -810,8 +810,8 @@ weechat.controller('WeechatCtrl', ['$rootScope', '$scope', '$store', '$timeout',
$store.bind($scope, "orderbyserver", false); $store.bind($scope, "orderbyserver", false);
// Save setting for updating favicon // Save setting for updating favicon
$store.bind($scope, "useFavico", true); $store.bind($scope, "useFavico", true);
// Save setting for notimestamp // Save setting for showtimestamp
$store.bind($scope, "notimestamp", notimestamp); $store.bind($scope, "showtimestamp", showtimestamp);
// Save setting for playing sound on notification // Save setting for playing sound on notification
$store.bind($scope, "soundnotification", false); $store.bind($scope, "soundnotification", false);