Patch #1864

Automatically extend /public with javascripts and images from a theme folder

Added by Chris Hart about 9 years ago. Updated almost 7 years ago.

Status:ClosedStart date:2008-09-05
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:UI
Target version:-

Description

We had to develop a custom theme for Redmine and wanted to preserve the default /public folder in its pristine state. Problem was, we had a few theme-specific javascripts that we also wanted to run.

Here is our modified

/lib/redmine/themes.rb
.

themes.rb Magnifier - Patch to automatically extend /public with javascripts and images from a theme folder. (3.32 KB) Chris Hart, 2008-09-05 20:55

1864-add-js-to-themes.diff Magnifier (1.83 KB) Eric Davis, 2008-10-25 06:46


Related issues

Related to Redmine - Feature #2803: Support for Javascript in Themes Closed 2009-02-21

History

#1 Updated by Eric Davis almost 9 years ago

I like the idea for this patch but I'm a bit tired to test it out. Here's a diff of the file against trunk, could I get another set of eyes to test it out?

#2 Updated by Jean-Philippe Lang almost 7 years ago

  • Status changed from New to Closed

See #2803.

Also available in: Atom PDF