Merge branch 'magicmatcherIssueList' into 'master'
Add Magicmatcher issue list See merge request !20
This commit is contained in:
commit
76c0f22393
3 changed files with 21 additions and 1 deletions
11
Template.php
11
Template.php
|
@ -17,6 +17,7 @@ class Template {
|
||||||
protected $plugins = array(
|
protected $plugins = array(
|
||||||
'sqlite' => null,
|
'sqlite' => null,
|
||||||
'tagging' => null,
|
'tagging' => null,
|
||||||
|
'magicmatcher' => null,
|
||||||
);
|
);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -74,6 +75,7 @@ class Template {
|
||||||
$this->plugins['sqlite'] = plugin_load('helper', 'sqlite');
|
$this->plugins['sqlite'] = plugin_load('helper', 'sqlite');
|
||||||
if($this->plugins['sqlite']) {
|
if($this->plugins['sqlite']) {
|
||||||
$this->plugins['tagging'] = plugin_load('helper', 'tagging');
|
$this->plugins['tagging'] = plugin_load('helper', 'tagging');
|
||||||
|
$this->plugins['magicmatcher'] = plugin_load('syntax', 'magicmatcher_issuelist');
|
||||||
}
|
}
|
||||||
$this->plugins['tplinc'] = plugin_load('helper', 'tplinc');
|
$this->plugins['tplinc'] = plugin_load('helper', 'tplinc');
|
||||||
}
|
}
|
||||||
|
@ -106,7 +108,14 @@ class Template {
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
// fixme add magicmatcher info
|
if ($this->plugins['magicmatcher']) {
|
||||||
|
$tabs[] = array(
|
||||||
|
'id' => 'spr__tab-issues',
|
||||||
|
'label' => tpl_getLang('tab_issues'),
|
||||||
|
'tab' => $this->plugins['magicmatcher']->getIssueListHTML(),
|
||||||
|
'count' => $this->plugins['magicmatcher']->getCountIssues(),
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
return $tabs;
|
return $tabs;
|
||||||
}
|
}
|
||||||
|
|
|
@ -76,6 +76,16 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/* + + + + + in meta box + + + + + */
|
||||||
|
#spr__tab-issues {
|
||||||
|
ul.mmissuelist {
|
||||||
|
padding-left: 0;
|
||||||
|
margin-top: 1rem;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
/* + + + + + in content + + + + + */
|
/* + + + + + in content + + + + + */
|
||||||
a.jiralink {
|
a.jiralink {
|
||||||
font-size: @font-size-default;
|
font-size: @font-size-default;
|
||||||
|
|
|
@ -30,6 +30,7 @@ $lang['meta_box_tags_none'] = 'tags found: none';
|
||||||
$lang['js']['meta_box_toc_none'] = 'no Table of Contents available';
|
$lang['js']['meta_box_toc_none'] = 'no Table of Contents available';
|
||||||
|
|
||||||
$lang['tab_tags'] = 'Tags';
|
$lang['tab_tags'] = 'Tags';
|
||||||
|
$lang['tab_issues'] = 'Issues';
|
||||||
|
|
||||||
$lang['quality_trigger'] = 'toggle page analysis';
|
$lang['quality_trigger'] = 'toggle page analysis';
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue