Change the way times are hidden
This commit is contained in:
parent
3bd2367164
commit
27134a7f3d
@ -960,3 +960,11 @@ code {
|
||||
color: #444;
|
||||
border: 1pt solid #444;
|
||||
}
|
||||
|
||||
#bufferlines.hideTime td.time {
|
||||
display:none;
|
||||
}
|
||||
|
||||
#bufferlines.hideTime td.prefix {
|
||||
display:none;
|
||||
}
|
||||
|
@ -395,7 +395,7 @@ npm run build-electron-{windows, darwin, linux}</pre>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div id="bufferlines" class="favorite-font" ng-swipe-right="swipeRight()" ng-swipe-left="swipeLeft()" ng-swipe-disable-mouse ng-class="{'withnicklist': showNicklist}" when-scrolled="infiniteScroll()" imgur-drop>
|
||||
<div id="bufferlines" class="favorite-font" ng-swipe-right="swipeRight()" ng-swipe-left="swipeLeft()" ng-swipe-disable-mouse ng-class="{'withnicklist': showNicklist, 'hideTime': !activeBuffer().showBufferLineTimes}" when-scrolled="infiniteScroll()" imgur-drop>
|
||||
<table>
|
||||
<tbody>
|
||||
<tr class="bufferline">
|
||||
@ -407,12 +407,12 @@ npm run build-electron-{windows, darwin, linux}</pre>
|
||||
</tbody>
|
||||
<tbody ng-repeat="bufferline in bufferlines">
|
||||
<tr class="bufferline">
|
||||
<td class="time" ng-show="activeBuffer().showBufferLineTimes">
|
||||
<td class="time">
|
||||
<span class="date" ng-class="::{'repeated-time': bufferline.shortTime==bufferlines[$index-1].shortTime}">
|
||||
<span class="cof-chat_time cob-chat_time coa-chat_time" ng-bind-html="::bufferline.formattedTime"></span>
|
||||
</span>
|
||||
</td>
|
||||
<td class="prefix" ng-show="activeBuffer().showBufferLineTimes"><span ng-class="::{'repeated-prefix': bufferline.prefixtext==bufferlines[$index-1].prefixtext}"><a ng-click="addMention(bufferline)"><span class="hidden-bracket" ng-if="::(bufferline.showHiddenBrackets)"><</span><span ng-repeat="part in ::bufferline.prefix" ng-class="::part.classes" ng-bind="::part.text|prefixlimit:25"></span><span class="hidden-bracket" ng-if="::(bufferline.showHiddenBrackets)">></span></a></span></td><!--
|
||||
<td class="prefix"><span ng-class="::{'repeated-prefix': bufferline.prefixtext==bufferlines[$index-1].prefixtext}"><a ng-click="addMention(bufferline)"><span class="hidden-bracket" ng-if="::(bufferline.showHiddenBrackets)"><</span><span ng-repeat="part in ::bufferline.prefix" ng-class="::part.classes" ng-bind="::part.text|prefixlimit:25"></span><span class="hidden-bracket" ng-if="::(bufferline.showHiddenBrackets)">></span></a></span></td><!--
|
||||
--><td class="message"><!--
|
||||
--><div ng-repeat="metadata in ::bufferline.metadata" plugin data="::metadata"></div><!--
|
||||
--><span ng-repeat="part in ::bufferline.content" class="text" ng-class="::part.classes.concat(['line-' + part.$$hashKey.replace(':','_')])" ng-bind-html="::part.text | conditionalLinkify:part.classes.includes('cof-chat_host') | DOMfilter:'codify' | DOMfilter:'irclinky' | DOMfilter:'emojify':settings.enableJSEmoji | DOMfilter:'inlinecolour' | DOMfilter:'latexmath':('.line-' + part.$$hashKey.replace(':','_')):settings.enableMathjax"></span>
|
||||
|
Loading…
Reference in New Issue
Block a user