It'd be useful it the issue cockpit was a little more theme friendly. Is there someplace the text "To avoid duplicates..." can be modified? It'd be nice if it was enclosed in a span with a class such as "issue-cockpit-readme" as well, so it can be easily themed. Also, it would be handy if the date in "Oldest open issue" was also in a span (with or without a class, either way) so it could be italicized or something.

Comments

dww’s picture

Category: feature » support
Status: Active » Closed (works as designed)

It's rendered via a theme template file. How much more theme friendly can it get? ;) If you copy the file into your theme's directory, you can edit the markup to your heart's content.

kanato’s picture

Huh, I didn't see the tpl file in there. I guess it'd be nice if the default was had a couple more elements to make theming easier, but it's not critical.

Is there a variable which contains the full project name available for use in overriding that code?

grobemo’s picture

The relevant .tpl.php file is in the theme/ subdirectory of the project_issue/ directory. It's called project-issue-issue-cockpit.tpl.php.

To theme the issue cockpit, copy that file to your theme's directory and clear the cache. The project_issue module caches the contents of the block (on a per page basis, I think), so you won't see any changes unless you clear the cache.