New setting for hiding timestamps
This commit is contained in:
parent
c77746695f
commit
3a52840111
12
index.html
12
index.html
|
@ -149,6 +149,16 @@
|
||||||
</div>
|
</div>
|
||||||
</form>
|
</form>
|
||||||
</li>
|
</li>
|
||||||
|
<li class="">
|
||||||
|
<form class="form-inline" role="form">
|
||||||
|
<div class="checkbox">
|
||||||
|
<label>
|
||||||
|
<input type="checkbox" ng-model="notimestamp">
|
||||||
|
Hide timestamps
|
||||||
|
</label>
|
||||||
|
</div>
|
||||||
|
</form>
|
||||||
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
<a ng-click="disconnect()">
|
<a ng-click="disconnect()">
|
||||||
|
@ -176,7 +186,7 @@
|
||||||
<table>
|
<table>
|
||||||
<tbody>
|
<tbody>
|
||||||
<tr class="bufferline" ng-repeat-start="bufferline in activeBuffer().lines">
|
<tr class="bufferline" ng-repeat-start="bufferline in activeBuffer().lines">
|
||||||
<td class="time">
|
<td ng-hide="notimestamp" class="time">
|
||||||
<span class="date text-muted">
|
<span class="date text-muted">
|
||||||
{{ bufferline.date | date:'HH:mm' }}
|
{{ bufferline.date | date:'HH:mm' }}
|
||||||
</span>
|
</span>
|
||||||
|
|
|
@ -332,7 +332,10 @@ weechat.controller('WeechatCtrl', ['$rootScope', '$scope', '$store', '$timeout',
|
||||||
// $scope.password = "";
|
// $scope.password = "";
|
||||||
//
|
//
|
||||||
|
|
||||||
|
// Save setting for displaying only buffers with unread messages
|
||||||
$store.bind($scope, "onlyUnread", false);
|
$store.bind($scope, "onlyUnread", false);
|
||||||
|
// Save setting for not showing timestamp
|
||||||
|
$store.bind($scope, "notimestamp", false);
|
||||||
|
|
||||||
|
|
||||||
$scope.setActiveBuffer = function(key) {
|
$scope.setActiveBuffer = function(key) {
|
||||||
|
|
Loading…
Reference in New Issue