restream / redmine_user_specific_theme Goto Github PK
View Code? Open in Web Editor NEWRedmine user specific theme plugin
License: Apache License 2.0
Redmine user specific theme plugin
License: Apache License 2.0
Hi,
Thank you for this plugin.
It seems it is impossible for users to select the default Redmine theme (which part of redmine core) as it doesn't appears in the theme list. The only why to use the default theme is to make it default in the system, and to not specify a custom theme in the user preference. But as we use a custom theme in the system, there is no way to switch a specific user to the default theme.
Is it fixable ?
Pierre
Hi!
This plugin can't work with Ruby 1.9.3 anymore?
There are some obsolete methods used so it's incompatible with the recent Redmine. :(
Hello.
install plugin, i have this error:
Bundler could not find compatible versions for gem "nokogiri":
In Gemfile:
deface (>= 0) x86-mingw32 depends on
nokogiri (~> 1.4.3) x86-mingw32
nokogiri (1.6.0)
It seems this plugin is not compatible with Redmine 3.x, any plans to update/add support?
I installed plugin with Redmine 2.4.0, but couldn't see the selection window in User preferences menu.
I found following error in logs:
Started GET "/my/account" for 127.0.0.1 at 2014-02-07 16:42:41 +0100 Processing by MyController#account as HTML Current user: admin (id=1) Rendered users/_mail_notifications.html.erb (105.8ms) Deface: [WARNING] No :original defined for 'user_ui_theme_preference', you should change its definition to include:
Found related entry at:
spree/deface#105
I solved by applying following to plugin code:
diff --git a/Gemfile b/Gemfile index e89ad92..1e876ba 100644 --- a/Gemfile +++ b/Gemfile @@ -1,4 +1,4 @@ -gem 'deface' +gem 'deface', '~> 1.0.0' group :development do gem 'diffy' diff --git a/app/overrides/users/_preferences.rb b/app/overrides/users/_preferences.rb index a7fb739..97f9bf0 100644 --- a/app/overrides/users/_preferences.rb +++ b/app/overrides/users/_preferences.rb @@ -1,5 +1,5 @@ Deface::Override.new( :virtual_path => 'users/_preferences', :name => 'user_ui_theme_preference', - :insert_before => 'code:contains("end"):last', + :insert_before => 'erb:contains("end"):last', :text => '<%= pref_fields.select :ui_theme, Redmine::Themes.themes.collect {|t| [t.name, t.id]}, { :include_blank => true } %>
')
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.