This commit is contained in:
daitingting
2018-04-23 16:13:13 +08:00
4 changed files with 3 additions and 8 deletions
-3
View File
@@ -16,6 +16,3 @@ a.removeModule{color:#ddd}
a.removeModule:hover{color:red}
tbody > tr > td > .btn-icon {margin-right: 3px;}
.noModule {margin-bottom: 10px;}
.noStory {text-align: center; margin-top: 40px;}
-1
View File
@@ -1 +0,0 @@
.noProduct {text-align: center; margin-top: 40px;}
+1 -1
View File
@@ -315,7 +315,7 @@
</div>
<?php elseif(common::hasPriv('story', 'create')):?>
<div class="table-empty-tip">
<p><span class="text-muted"><?php echo $lang->product->noStory;?></span> <?php echo html::a($this->createLink('story', 'create', "productID={$productID}&branch={$branch}&moduleID={$moduleID}"), "<i class='icon icon-plus'></i> " . $lang->story->create, '', "class='btn btn-info'");?></strong></p>
<p><span class="text-muted"><?php echo $lang->product->noStory;?></span> <?php common::printLink('story', 'create', "productID={$productID}&branch={$branch}&moduleID={$moduleID}", "<i class='icon icon-plus'></i> " . $lang->story->create, '', "class='btn btn-info'");?></p>
</div>
<?php endif;?>
</form>
+2 -3
View File
@@ -12,9 +12,8 @@
?>
<?php include '../../common/view/header.html.php';?>
<?php if(empty($products)):?>
<div class='noProduct'>
<span class='text-muted'><?php echo $lang->product->noProduct;?></span>
<strong><?php common::printLink('product', 'create', '', $lang->product->create);?></strong>
<div class="table-empty-tip">
<p><span class="text-muted"><?php echo $lang->product->noProduct;?></span> <?php common::printLink('product', 'create', '', "<i class='icon icon-plus'> </i>" . $lang->product->create, '', "class='btn btn-info'");?></p>
</div>
<?php else:?>
<?php echo $this->fetch('block', 'dashboard', 'module=product');?>