* add board icon.

This commit is contained in:
Lufei
2024-05-27 17:38:37 +08:00
parent 0745f89e47
commit e0e6c686fb
3 changed files with 3 additions and 0 deletions
+1
View File
@@ -276,6 +276,7 @@ class header extends wg
if($config->edition == 'open') unset($lang->createIcons['effort']);
if($config->systemMode == 'light') unset($lang->createIcons['program']);
if(empty($config->board)) unset($lang->createIcons['board']);
/* Check whether the creation permission is available, and print create buttons. */
$items = array();
+1
View File
@@ -238,6 +238,7 @@ $lang->createIcons['story'] = 'lightbulb';
$lang->createIcons['task'] = 'check-sign';
$lang->createIcons['testcase'] = 'sitemap';
$lang->createIcons['doc'] = 'doc';
$lang->createIcons['board'] = 'board';
$lang->createIcons['execution'] = 'run';
$lang->createIcons['project'] = 'project';
$lang->createIcons['product'] = 'product';
+1
View File
@@ -2880,6 +2880,7 @@ class commonModel extends model
if($config->edition == 'open') unset($lang->createIcons['effort']);
if($config->systemMode == 'light') unset($lang->createIcons['program']);
if(empty($config->board)) unset($lang->createIcons['board']);
/* Check whether the creation permission is available, and print create buttons. */
foreach($lang->createIcons as $objectType => $objectIcon)