#508: Trac plugin does not working in the Bloodhound Theme
------------------------+--------------------
Reporter: goody80 | Owner: nobody
Type: defect | Status: new
Priority: major | Milestone:
Component: dashboard | Version: 0.5.3
Resolution: | Keywords:
------------------------+--------------------
Comment (by rjollos):
I see the traceback from comment:4 in the logs if I enable
`themeengine.admin.*`, but it doesn't result in an `TracError` page. It
appears to be unrelated to the primary issue you are reporting here and we
don't enable those admin panels by default, but we should fix the issues
anyway.
The issues are:
1. `default_screenshot` and `no_screenshot` don't seem to be installed:
{{{
#!sh
ls installer/bloodhound/lib/python2.7/site-packages/themeengine/htdocs/
admin.css farbtastic img jcarousellite_1.0.1.js jquery.rule.js
jquery.rule-min.js
}}}
1. Since we don't have a screenshot in the !BloodhoundTheme` package, the
following patch should be applied:
{{{
#!patch
Index: bloodhound_theme/bhtheme/theme.py
===================================================================
--- bloodhound_theme/bhtheme/theme.py (revision 1470981)
+++ bloodhound_theme/bhtheme/theme.py (working copy)
@@ -62,7 +62,8 @@
class BloodhoundTheme(ThemeBase):
"""Look and feel of Bloodhound issue tracker.
"""
- template = htdocs = css = screenshot = disable_trac_css = True
+ template = htdocs = css = disable_trac_css = True
+ screenshot = False
disable_all_trac_css = True
BLOODHOUND_KEEP_CSS = set(
(
}}}
--
Ticket URL: <https://issues.apache.org/bloodhound/ticket/508#comment:6>
Apache Bloodhound <https://issues.apache.org/bloodhound/>
The Apache Bloodhound issue tracker