*Finish task #44498.

This commit is contained in:
zhengrunyu
2021-11-16 13:43:05 +08:00
parent a76ec95e69
commit d5783e71b3
2 changed files with 7 additions and 3 deletions
+6 -2
View File
@@ -1483,8 +1483,12 @@ class projectModel extends model
if($id == 'id') $class .= ' cell-id';
if($id == 'code') $title = "title={$project->code}";
if($id == 'code')
{
$class .= ' c-name';
$title = "title={$project->code}";
}
if($id == 'name')
{
$class .= ' text-left';
+1 -1
View File
@@ -3723,7 +3723,7 @@ class storyModel extends model
$showBranch = isset($this->config->product->browse->showBranch) ? $this->config->product->browse->showBranch : 1;
if($storyType == 'requirement') echo '<span class="label label-badge label-light">SR</span> ';
if($story->parent > 0 and isset($story->parentName)) $story->title = "{$story->parentName} / {$story->title}";
echo "<span class='label label-outline label-badge'>{$branches[$story->branch]}</span> ";
if(isset($branches[$story->branch]) and $showBranch) echo "<span class='label label-outline label-badge'>{$branches[$story->branch]}</span> ";
if($story->module and isset($modulePairs[$story->module])) echo "<span class='label label-gray label-badge'>{$modulePairs[$story->module]}</span> ";
if($story->parent > 0) echo '<span class="label label-badge label-light" title="' . $this->lang->story->children . '">' . $this->lang->story->childrenAB . '</span> ';
echo $canView ? html::a($storyLink, $story->title, '', "style='color: $story->color' data-app='$tab'") : "<span style='color: $story->color'>{$story->title}</span>";