Feature #4356
add ability Plugin may contain the theme for Redmine
Status: | New | Start date: | 2009-12-07 | |
---|---|---|---|---|
Priority: | Normal | Due date: | ||
Assignee: | - | % Done: | 0% | |
Category: | Plugin API | |||
Target version: | - | |||
Resolution: |
Description
at this moment Redmine analyse only themes dir in RAILS_ROOT
module Redmine::Themes
def self.scan_themes dirs = Dir.glob("#{RAILS_ROOT}/public/themes/*").select do |f| # A theme should at least override application.css File.directory?(f) && File.exist?("#{f}/stylesheets/application.css") end dirs.collect {|dir| Theme.new(dir)}.sort end
if I want to create my own CSS that's enough for me
BUT
if I want to create my own views, I would be create a new plugin with redefined views of core
it is incorrect I think my theme in the core, but the views in plugin
what's why I suggest
- add ability to Redmine Plugin Engine to support the themes for Redmine
History
#1
Updated by Jean-Philippe Lang about 13 years ago
- Category set to Plugin API