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>
</ul>
</div>
<table ng-class="{'notimestamp':notimestamp}">
<table ng-class="{'notimestamp':!showtimestamp}">
<tbody>
<tr class="bufferline">
<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">
<div class="checkbox">
<label>
<input type="checkbox" ng-model="notimestamp">
Hide timestamps
<input type="checkbox" ng-model="showtimestamp">
Show timestamps
</label>
</div>
</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
var nonicklist = false;
var noembed = false;
var notimestamp = false;
var showtimestamp = true;
$rootScope.wasMobileUi = false;
@ -810,8 +810,8 @@ weechat.controller('WeechatCtrl', ['$rootScope', '$scope', '$store', '$timeout',
$store.bind($scope, "orderbyserver", false);
// Save setting for updating favicon
$store.bind($scope, "useFavico", true);
// Save setting for notimestamp
$store.bind($scope, "notimestamp", notimestamp);
// Save setting for showtimestamp
$store.bind($scope, "showtimestamp", showtimestamp);
// Save setting for playing sound on notification
$store.bind($scope, "soundnotification", false);