* Finish task #59748.
This commit is contained in:
@@ -73,8 +73,7 @@ js::set('isCNLang', !$this->loadModel('common')->checkNotCN())
|
||||
<div class="table-empty-tip">
|
||||
<p>
|
||||
<span class="text-muted"><?php echo $from == 'execution' ? $lang->execution->noExecutions : $lang->execution->noExecution;?></span>
|
||||
<?php $statusList = array("doing", "closed", "suspended");?>
|
||||
<?php if(!in_array($status, $statusList)):?>
|
||||
<?php if($status == "all"):?>
|
||||
<?php if(common::hasPriv('programplan', 'create') and $isStage):?>
|
||||
<?php echo html::a($this->createLink('programplan', 'create', "projectID=$projectID&productID=$productID"), "<i class='icon icon-plus'></i> " . $lang->programplan->create, '', "class='btn btn-info'");?>
|
||||
<?php else: ?>
|
||||
|
||||
@@ -198,8 +198,7 @@ body {margin-bottom: 25px;}
|
||||
<div class="table-empty-tip">
|
||||
<p>
|
||||
<span class="text-muted"><?php echo $lang->task->noTask;?></span>
|
||||
<?php $statusList = array("doing", "closed");?>
|
||||
<?php if($canBeChanged and common::hasPriv('task', 'create') and !in_array($status, $statusList)):?>
|
||||
<?php if($canBeChanged and common::hasPriv('task', 'create') and $status == "all"):?>
|
||||
<?php echo html::a($taskCreateLink, "<i class='icon icon-plus'></i> " . $lang->task->create, '', "class='btn btn-info'");?>
|
||||
<?php endif;?>
|
||||
</p>
|
||||
|
||||
@@ -41,8 +41,7 @@
|
||||
<div class="table-empty-tip">
|
||||
<p>
|
||||
<span class="text-muted"><?php echo $lang->productplan->noPlan;?></span>
|
||||
<?php $statusList = array("doing", "closed");?>
|
||||
<?php if(common::canModify('product', $product) and common::hasPriv('productplan', 'create') and !in_array($browseType, $statusList)):?>
|
||||
<?php if(common::canModify('product', $product) and common::hasPriv('productplan', 'create') and $browseType == "all"):?>
|
||||
<?php echo html::a($this->createLink('productplan', 'create', "productID=$product->id&branch=$branch"), "<i class='icon icon-plus'></i> " . $lang->productplan->create, '', "class='btn btn-info'");?>
|
||||
<?php endif;?>
|
||||
</p>
|
||||
|
||||
@@ -73,8 +73,7 @@
|
||||
<div class="table-empty-tip">
|
||||
<p>
|
||||
<span class="text-muted"><?php echo $lang->project->empty;?></span>
|
||||
<?php $statusList = array("doing", "closed", "suspended");?>
|
||||
<?php if(!in_array($browseType, $statusList)):?>
|
||||
<?php if($browseType == "all"):?>
|
||||
<?php if(!defined('TUTORIAL')):?>
|
||||
<?php if(common::hasPriv('project', 'create') and $browseType != 'bysearch') common::printLink('project', 'createGuide', "programID=$programID", '<i class="icon icon-plus"></i> ' . $lang->project->create, '', 'class="btn btn-info" data-toggle="modal"');?>
|
||||
<?php else:?>
|
||||
|
||||
Reference in New Issue
Block a user