* Fix bug #18861.
This commit is contained in:
@@ -54,11 +54,9 @@
|
||||
<td><?php echo html::a($link, sprintf('%03d', $execution->id));?></td>
|
||||
<td class='c-name text-left'>
|
||||
<?php
|
||||
if(isset($this->config->maxVersion))
|
||||
{
|
||||
if($execution->type === 'stage') echo "<span class='project-type-label label label-outline label-warning'>{$lang->project->stage}</span> ";
|
||||
if($execution->type === 'sprint') echo "<span class='project-type-label label label-outline label-info'>{$lang->executionCommon}</span> ";
|
||||
}
|
||||
if($execution->type === 'stage') echo "<span class='project-type-label label label-outline label-warning'>{$lang->project->stage}</span> ";
|
||||
if($execution->type === 'sprint') echo "<span class='project-type-label label label-outline label-info'>{$lang->executionCommon}</span> ";
|
||||
if($execution->type === 'kanban') echo "<span class='project-type-label label label-outline label-info'>{$lang->execution->kanban}</span> ";
|
||||
echo html::a($link, $execution->name, '', "title='$execution->name'");
|
||||
?>
|
||||
</td>
|
||||
|
||||
@@ -51,11 +51,9 @@
|
||||
<td class='c-id'><?php printf('%03d', $project->id);?></td>
|
||||
<td class='c-name text-left' title='<?php echo $project->name?>'>
|
||||
<?php
|
||||
if(isset($this->config->maxVersion))
|
||||
{
|
||||
if($project->model === 'waterfall') echo "<span class='project-type-label label label-outline label-warning'>{$lang->project->waterfall}</span> ";
|
||||
if($project->model === 'scrum') echo "<span class='project-type-label label label-outline label-info'>{$lang->project->scrum}</span> ";
|
||||
}
|
||||
if($project->model === 'kanban') echo "<span class='project-type-label label label-outline label-info'>{$lang->project->kanban}</span> ";
|
||||
echo html::a($this->createLink('project', 'index', "projectID=$project->id", '', '', $project->id), $project->name, '', "data-group='project'");
|
||||
?>
|
||||
</td>
|
||||
|
||||
Reference in New Issue
Block a user