Merge branch 'sprint/fixbug_hufangzhou_14233' into 'master'

* Fix bug #14233.

See merge request easycorp/zentaopms!2471
This commit is contained in:
王怡栋
2022-03-23 06:21:21 +00:00
2 changed files with 19 additions and 10 deletions
+1 -10
View File
@@ -19,16 +19,7 @@
<div class="panel block-files block-sm no-margin">
<?php if(empty($docs)):?>
<div class="table-empty-tip">
<p>
<span class="text-muted"><?php echo $lang->doc->noDoc;?></span>
<?php if($browseType == 'byediteddate'):?>
<span class="text-muted"><?php echo $lang->doc->noEditedDoc;?></span>
<?php elseif($browseType == 'openedbyme'):?>
<span class="text-muted"><?php echo $lang->doc->noOpenedDoc;?></span>
<?php elseif($browseType == 'collectedbyme'):?>
<span class="text-muted"><?php echo $lang->doc->noCollectedDoc;?></span>
<?php endif;?>
</p>
<p><span class="text-muted"><?php echo $lang->doc->noDoc;?></span></p>
</div>
<?php else:?>
<div class="panel-body">
+18
View File
@@ -23,6 +23,11 @@
<li><?php echo html::a($this->createLink('doc', 'browse', "browseType=byediteddate"), '<i class="icon icon-more icon-sm"></i>', '', "title='{$lang->more}'");?></li>
</nav>
</div>
<?php if(empty($latestEditedDocs)):?>
<div class="table-empty-tip">
<p><span class="text-muted"><?php echo $lang->doc->noDoc;?></span></p>
</div>
<?php else:?>
<div class="panel-body has-table">
<table class="table table-borderless table-fixed-head table-hover">
<thead>
@@ -45,6 +50,7 @@
</tbody>
</table>
</div>
<?php endif;?>
</div>
</div>
<div class="col-sm-5">
@@ -129,6 +135,11 @@
<li><?php echo html::a($this->createLink('doc', 'browse', "browseType=openedbyme"), '<i class="icon icon-more icon-sm"></i>', '', "title='{$lang->more}'");?></li>
</nav>
</div>
<?php if(!empty($myDocs)):?>
<div class="table-empty-tip">
<p><span class="text-muted"><?php echo $lang->doc->noDoc;?></span></p>
</div>
<?php else:?>
<div class="panel-body has-table">
<table class="table table-borderless table-fixed-head table-hover">
<thead>
@@ -151,6 +162,7 @@
</tbody>
</table>
</div>
<?php endif;?>
</div>
</div>
<div class="col-sm-5">
@@ -161,6 +173,11 @@
<li><?php echo html::a($this->createLink('doc', 'browse', "browseType=collectedbyme"), '<i class="icon icon-more icon-sm"></i>', '', "title='{$lang->more}'");?></li>
</nav>
</div>
<?php if(empty($collectedDocs)):?>
<div class="table-empty-tip">
<p><span class="text-muted"><?php echo $lang->doc->noDoc;?></span></p>
</div>
<?php else:?>
<div class="panel-body has-table">
<table class="table table-borderless table-fixed-head table-hover">
<thead>
@@ -181,6 +198,7 @@
</tbody>
</table>
</div>
<?php endif;?>
</div>
</div>
</div>