Project

General

Profile

Actions

Feature #4356

open

add ability Plugin may contain the theme for Redmine

Added by Alexey Lustin almost 15 years ago. Updated almost 15 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Plugin API
Target version:
-
Start date:
2009-12-07
Due date:
% Done:

0%

Estimated time:
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
Actions

Also available in: Atom PDF