use ng-if to hide date instead of css

This commit is contained in:
Lorenz Hübschle-Schneider 2014-04-24 23:05:06 +02:00 committed by David Cormier
parent 9e57733b31
commit 16365db588
2 changed files with 1 additions and 6 deletions

View file

@ -340,11 +340,6 @@ img.embed {
max-height: 300px;
}
table.notimestamp td.time {
display: none !important;
}
.modal ul {
list-style: none;
padding-left: 15px;

View file

@ -241,7 +241,7 @@ $ openssl req -nodes -newkey rsa:4096 -keyout relay.pem -x509 -days 365 -out rel
</tbody>
<tbody ng-repeat="bufferline in bufferlines">
<tr class="bufferline">
<td class="time">
<td class="time" ng-if="!notimestamp">
<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>