* add tip content to block without content.

This commit is contained in:
Catouse
2018-06-25 13:25:47 +08:00
parent 1a0cd36e0d
commit a4d0bb2d60
15 changed files with 56 additions and 2 deletions
+4
View File
@@ -1,3 +1,6 @@
<?php if(empty($actions)): ?>
<div class='empty-tip'><?php echo $lang->block->emptyTip;?></div>
<?php else:?>
<style>
.block-dynamic .timeline > li .timeline-text {display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;}
.block-dynamic .timeline > li:hover .timeline-text {overflow: visible; text-overflow: normal; white-space: normal;}
@@ -20,3 +23,4 @@
?>
</ul>
</div>
<?php endif;?>