diff --git a/css/glowingbear.css b/css/glowingbear.css index cb46578..22fccc9 100644 --- a/css/glowingbear.css +++ b/css/glowingbear.css @@ -57,6 +57,9 @@ td.time { vertical-align: top; } +.repeated-time { + display: none; +} td.prefix { text-align: right; vertical-align: top; diff --git a/css/style.css b/css/style.css index fcf0112..4e6b1af 100644 --- a/css/style.css +++ b/css/style.css @@ -116,6 +116,7 @@ .cob-chat { } .cob-chat_time { + color: #999; } .cob-chat_time_delimiters { } diff --git a/index.html b/index.html index d950365..bed3b9f 100644 --- a/index.html +++ b/index.html @@ -216,9 +216,9 @@ $ openssl req -nodes -newkey rsa:2048 -keyout relay.pem -x509 -days 365 -out rel
- + diff --git a/js/models.js b/js/models.js index a0c066b..dc722f4 100644 --- a/js/models.js +++ b/js/models.js @@ -4,7 +4,7 @@ */ var models = angular.module('weechatModels', []); -models.service('models', ['$rootScope', function($rootScope) { +models.service('models', ['$rootScope', '$filter', function($rootScope, $filter) { /* * Buffer class */ @@ -61,6 +61,7 @@ models.service('models', ['$rootScope', function($rootScope) { this.BufferLine = function(message) { var buffer = message['buffer']; var date = message['date']; + var shortTime = $filter('date')(date, 'HH:mm'); function addClasses(textElements) { var typeToClassPrefixFg = { @@ -118,6 +119,7 @@ models.service('models', ['$rootScope', function($rootScope) { prefix: prefix, content: content, date: date, + shortTime: shortTime, buffer: buffer, tags: tags_array, highlight: highlight,
- + {{ bufferline.date | date:'HH' }}:{{ bufferline.date | date:'mm' }}