プロジェクト

全般

プロフィール

Vote #66133

未完了

add ability Plugin may contain the theme for Redmine

Admin Redmine さんが約2年前に追加. 約2年前に更新.

ステータス:
New
優先度:
通常
担当者:
-
カテゴリ:
Plugin API_20
対象バージョン:
-
開始日:
2009/12/07
期日:
進捗率:

0%

予定工数:
category_id:
20
version_id:
0
issue_org_id:
4356
author_id:
2944
assigned_to_id:
0
comments:
1
status_id:
1
tracker_id:
2
plus1:
0
affected_version:
closed_on:
affected_version_id:
ステータス-->[New]

説明

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

Admin Redmine さんが約2年前に更新

  • カテゴリPlugin API_20 にセット

他の形式にエクスポート: Atom PDF

いいね!0
いいね!0