diff options
Diffstat (limited to 'template/en/default/bug/show-header.html.tmpl')
-rw-r--r-- | template/en/default/bug/show-header.html.tmpl | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/template/en/default/bug/show-header.html.tmpl b/template/en/default/bug/show-header.html.tmpl index 0aaaf91e3..bce881420 100644 --- a/template/en/default/bug/show-header.html.tmpl +++ b/template/en/default/bug/show-header.html.tmpl @@ -70,6 +70,12 @@ "bz_component_$bug.component", "bz_bug_$bug.bug_id", ] %] +[% markdown_enabled = feature_enabled('jsonrpc') AND user.settings.use_markdown.value == "on" %] +[% IF markdown_enabled %] + [% javascript_urls.push("js/highlight.js/highlight.pack.js") %] + [% style_urls.push("js/highlight.js/styles/github.css") %] +[% END %] + [% FOREACH group = bug.groups_in %] [% bodyclasses.push("bz_group_$group.name") %] [% END %] |