* add board icon.
This commit is contained in:
@@ -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();
|
||||
|
||||
@@ -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';
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user