Project

General

Profile

Actions

Patch #1864

closed

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

Added by Chris Hart over 16 years ago. Updated about 14 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
UI
Target version:
-
Start date:
2008-09-05
Due date:
% Done:

0%

Estimated time:

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
.


Files

themes.rb (3.32 KB) themes.rb Patch to automatically extend /public with javascripts and images from a theme folder. Chris Hart, 2008-09-05 20:55
1864-add-js-to-themes.diff (1.83 KB) 1864-add-js-to-themes.diff Eric Davis, 2008-10-25 06:46

Related issues

Related to Redmine - Feature #2803: Support for Javascript in ThemesClosed2009-02-21

Actions
Actions #1

Updated by Eric Davis about 16 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?

Actions #2

Updated by Jean-Philippe Lang about 14 years ago

  • Status changed from New to Closed

See #2803.

Actions

Also available in: Atom PDF