* Remove unused code.

This commit is contained in:
Yagami
2021-04-26 09:27:20 +08:00
parent c076bc624a
commit d3df2dfa61
-7
View File
@@ -26,13 +26,6 @@
<div class="table-empty-tip">
<p>
<span class="text-muted"><?php echo $lang->project->empty;?></span>
<?php if(isset($this->config->maxVersion) and common::hasPriv('project', 'createGuide')):?>
<?php echo html::a($this->createLink('project', 'createGuide'), "<i class='icon icon-plus'></i> " . $lang->my->createProgram, '', "class='btn btn-info' data-toggle=modal");?>
<?php elseif($this->config->systemMode == 'new' and common::hasPriv('project', 'create')):?>
<?php echo html::a($this->createLink('project', 'create', 'mode=scrum'), '<i class="icon icon-plus"></i>' . $lang->project->create, '', 'class="btn btn-info"');?>
<?php elseif($this->config->systemMode == 'classic' and common::hasPriv('execution', 'create')):?>
<?php echo html::a($this->createLink('execution', 'create'), '<i class="icon icon-plus"></i>' . $lang->execution->create, '', 'class="btn btn-info"');?>
<?php endif;?>
</p>
</div>
<?php else:?>