添加判断语句不显示没有内容的要素
This commit is contained in:
parent
c697ed5363
commit
3c19bfda01
|
@ -10,6 +10,7 @@ $this->breadcrumb()->setSeparator(' > ');
|
||||||
?>
|
?>
|
||||||
<div id='rightPanel'>
|
<div id='rightPanel'>
|
||||||
<h3>目前系统中专家库为<?php echo $this->stat['experts']; ?>人,新投稿元数据<?php echo $this->stat['draft']; ?>条,已接收元数据<?php echo $this->stat['accept']; ?>条,有<?php echo $this->stat['inreview']; ?>条元数据正在评审中,已完成评审元数据<?php echo $this->stat['reviewed']; ?>条,有<?php echo $this->stat['openreviewuser']; ?>个用户参与了<?php echo $this->stat['openreview']; ?>次评审。 <a href="/review/myreview">我参审的元数据</a></h3>
|
<h3>目前系统中专家库为<?php echo $this->stat['experts']; ?>人,新投稿元数据<?php echo $this->stat['draft']; ?>条,已接收元数据<?php echo $this->stat['accept']; ?>条,有<?php echo $this->stat['inreview']; ?>条元数据正在评审中,已完成评审元数据<?php echo $this->stat['reviewed']; ?>条,有<?php echo $this->stat['openreviewuser']; ?>个用户参与了<?php echo $this->stat['openreview']; ?>次评审。 <a href="/review/myreview">我参审的元数据</a></h3>
|
||||||
|
<?php if ($this->mdreceived) : ?>
|
||||||
<ul>
|
<ul>
|
||||||
<div class="title"><a href="/review/draft">元数据:最新收稿</a></div>
|
<div class="title"><a href="/review/draft">元数据:最新收稿</a></div>
|
||||||
<?php foreach($this->mdreceived as $md) : ?>
|
<?php foreach($this->mdreceived as $md) : ?>
|
||||||
|
@ -19,6 +20,7 @@ $this->breadcrumb()->setSeparator(' > ');
|
||||||
<?php endforeach; ?>
|
<?php endforeach; ?>
|
||||||
<li class="more"><a href="/review/draft">更多>></a></li>
|
<li class="more"><a href="/review/draft">更多>></a></li>
|
||||||
</ul>
|
</ul>
|
||||||
|
<?php endif; if ($this->mdaccepted) : ?>
|
||||||
<ul>
|
<ul>
|
||||||
<div class="title"><a href="/review/accept">元数据:已接收</a></div>
|
<div class="title"><a href="/review/accept">元数据:已接收</a></div>
|
||||||
<?php foreach($this->mdaccepted as $md) : ?>
|
<?php foreach($this->mdaccepted as $md) : ?>
|
||||||
|
@ -28,6 +30,7 @@ $this->breadcrumb()->setSeparator(' > ');
|
||||||
<?php endforeach; ?>
|
<?php endforeach; ?>
|
||||||
<li class="more"><a href="/review/accept">更多>></a></li>
|
<li class="more"><a href="/review/accept">更多>></a></li>
|
||||||
</ul>
|
</ul>
|
||||||
|
<?php endif; if ($this->mdinreview) : ?>
|
||||||
<ul>
|
<ul>
|
||||||
<div class="title"><a href="/review/inreview">元数据:送审中</a></div>
|
<div class="title"><a href="/review/inreview">元数据:送审中</a></div>
|
||||||
<?php foreach($this->mdinreview as $md) : ?>
|
<?php foreach($this->mdinreview as $md) : ?>
|
||||||
|
@ -37,6 +40,7 @@ $this->breadcrumb()->setSeparator(' > ');
|
||||||
<?php endforeach; ?>
|
<?php endforeach; ?>
|
||||||
<li class="more"><a href="/review/inreview">更多>></a></li>
|
<li class="more"><a href="/review/inreview">更多>></a></li>
|
||||||
</ul>
|
</ul>
|
||||||
|
<?php endif; if ($this->mdreviewed) : ?>
|
||||||
<ul>
|
<ul>
|
||||||
<div class="title"><a href="/review/reviewed">元数据:最新完成评审</a></div>
|
<div class="title"><a href="/review/reviewed">元数据:最新完成评审</a></div>
|
||||||
<?php foreach($this->mdreviewed as $md) : ?>
|
<?php foreach($this->mdreviewed as $md) : ?>
|
||||||
|
@ -46,4 +50,5 @@ $this->breadcrumb()->setSeparator(' > ');
|
||||||
<?php endforeach; ?>
|
<?php endforeach; ?>
|
||||||
<li class="more"><a href="/review/reviewed">更多>></a></li>
|
<li class="more"><a href="/review/reviewed">更多>></a></li>
|
||||||
</ul>
|
</ul>
|
||||||
|
<?php endif; ?>
|
||||||
</div>
|
</div>
|
Loading…
Reference in New Issue