Merge pull request #112 from lorenzhs/fixtimestampdisplay

Fix timestamp hiding/showing
This commit is contained in:
David Cormier 2014-02-05 09:08:11 -05:00
commit ef62ddb267
2 changed files with 7 additions and 2 deletions

View file

@ -359,3 +359,8 @@ li.notification {
img.embed { img.embed {
max-height: 300px; max-height: 300px;
} }
table.notimestamp td.time {
display: none;
}

View file

@ -280,10 +280,10 @@ $ openssl req -nodes -newkey rsa:2048 -keyout relay.pem -x509 -days 365 -out rel
</li> </li>
</ul> </ul>
</div> </div>
<table> <table ng-class="{'notimestamp':notimestamp}">
<tbody bindonce ng-repeat="bufferline in (bufferlines = activeBuffer().lines)"> <tbody bindonce ng-repeat="bufferline in (bufferlines = activeBuffer().lines)">
<tr class="bufferline"> <tr class="bufferline">
<td bo-hide="notimestamp" class="time"> <td class="time">
<span class="date" bo-class="{'repeated-time': bufferline.shortTime==bufferlines[$index-1].shortTime}"> <span class="date" bo-class="{'repeated-time': bufferline.shortTime==bufferlines[$index-1].shortTime}">
<span class="cof-chat_time cob-chat_time coa-chat_time" bo-text="bufferline.date|date:'HH'"></span><span class="cof-chat_time_delimiters cob-chat_time_delimiters coa-chat_time_delimiters">:</span><span class="cof-chat_time cob-chat_time coa-chat_time" bo-text="bufferline.date|date:'mm'"></span> <span class="cof-chat_time cob-chat_time coa-chat_time" bo-text="bufferline.date|date:'HH'"></span><span class="cof-chat_time_delimiters cob-chat_time_delimiters coa-chat_time_delimiters">:</span><span class="cof-chat_time cob-chat_time coa-chat_time" bo-text="bufferline.date|date:'mm'"></span>
</span> </span>