+ add smaller style.

This commit is contained in:
zhujinyong
2013-06-13 11:35:32 +00:00
parent 1e9d7163f5
commit b8119bde70

View File

@@ -504,7 +504,7 @@ class treeModel extends model
static $users;
if(empty($users)) $users = $this->loadModel('user')->getPairs('noletter');
$linkHtml = $module->name;
$linkHtml .= $module->type != 'story' ? ' [' . strtoupper(substr($module->type, 0, 1)) . ']' : '';
$linkHtml .= $module->type != 'story' ? ' <span style="font-size:smaller;">[' . strtoupper(substr($module->type, 0, 1)) . ']</span>' : '';
if($type == 'bug' and $module->owner) $linkHtml .= '<span class="owner">[' . $users[$module->owner] . ']</span>';
if($type != 'story' and $module->type == 'story')
{