Fix timestamp hiding/showing

Fixes #105
This commit is contained in:
Lorenz H-S 2013-12-26 17:24:13 +01:00
parent 3b2af82d36
commit 42d993be78
2 changed files with 7 additions and 2 deletions

View file

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

View file

@ -281,10 +281,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'">{{ 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'">{{ bufferline.date | date:'mm' }}</span>
</span> </span>