* code for task #3685.

This commit is contained in:
wangyidong
2018-03-23 10:59:11 +08:00
parent b996e427f0
commit ec374fd2d7
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
.libs-group-heading {color: #808080; border-bottom:1px solid #ddd; padding:8px;}
.libs-group-heading a{overflow: hidden; white-space: nowrap; text-overflow: ellipsis;}
.libs-group{padding:10px; height:84px;}
.libs-group{padding:10px; min-height:84px;}
.lib {float: left; display: block; width:80px; padding: 5px; margin:0px 3px; text-align: center; color: #333; overflow: hidden; text-overflow: ellipsis;}
.lib .file-icon{margin-bottom:5px;}
.lib .lib-name{overflow: hidden; white-space: nowrap; text-overflow: ellipsis;}
+1 -1
View File
@@ -43,9 +43,9 @@
?>
<div class='libs-group-heading libs-product-heading text-ellipsis'>
<?php
if($subLibCount > 3) echo html::a(inlink('objectLibs', "type=product&objectID=$product->id&from=doc"), "{$lang->more}<i class='icon icon-double-angle-right'></i>", '', "title='{$lang->more}' class='pull-right'");
$label = $objectNum == 1 ? "<span class='label label-primary'>{$lang->doclib->product}</span> " : '';
echo html::a(inlink('objectLibs', "type=product&objectID=$product->id&from=doc"), $label . $product->name, '', "title='{$product->name}'");
if($subLibCount > 3) echo html::a(inlink('objectLibs', "type=product&objectID=$product->id&from=doc"), "{$lang->more}<i class='icon icon-double-angle-right'></i>", '', "title='{$lang->more}' class='pull-right'");
?>
</div>
<div class='libs-group clearfix'>