From e365b5756d330d6f0f3dfe8429e095eb29bdbb02 Mon Sep 17 00:00:00 2001 From: Alexander Meindl Date: Fri, 27 Sep 2013 16:37:22 +0200 Subject: [PATCH] Requirements has been added --- README.md | 27 +++++++++++++++++---------- init.rb | 6 +++++- 2 files changed, 22 insertions(+), 11 deletions(-) diff --git a/README.md b/README.md index deb15bd8..599dc53d 100755 --- a/README.md +++ b/README.md @@ -1,22 +1,35 @@ # Redmine tweaks plugin -* option to remove "my page" from top menu -* Customize "Help" url in top menu * use "Project guide" on project overview page -* Set info message above new ticket (e.g. for guidelines) +* global header for all projects +* global footer for all projects +* welcome text for login page +* global sidebar content support +* set info message above new ticket (e.g. for guidelines) * Wiki user macros * Wiki project macros * Wiki date macros -* Disable (hide) modules for projects +* option to remove "my page" from top menu +* customize "Help" url in top menu +* disable (hide) modules for projects * open external urls in new window * anonymize referrer for external urls + ## Compatibility Tested with Redmine 2.3.3 + +## Required plugins + +* Wiki extensions plugin: http://www.r-labs.org/projects/r-labs/wiki/Wiki_Extensions_en + + ## Installation +Check all required plugins! + Download the sources and put them to your vendor/plugins folder. $ cd {REDMINE_ROOT} @@ -25,12 +38,6 @@ Download the sources and put them to your vendor/plugins folder. Restart Redmine and have a fun! -## Optional plugins - -* Wiki extensions plugin: http://www.r-labs.org/projects/r-labs/wiki/Wiki_Extensions_en -* Wiki Lists plugin: http://www.r-labs.org/projects/wiki_lists/wiki/Wiki_Lists - - ## Usage ### User list macros diff --git a/init.rb b/init.rb index fd42d81f..b73c82ae 100755 --- a/init.rb +++ b/init.rb @@ -47,7 +47,11 @@ Redmine::Plugin.register :redmine_tweaks do # required redmine version requires_redmine :version_or_higher => '2.3.3' - + + # for formating (div/hr) + # ! does not work with plugin redmine_wiki_extensions + # requires_redmine_plugin :redmine_wiki_extensions, :version_or_higher => '0.6.4' + # Add Task board menu :top_menu, :task_board, { :controller => 'wiki', :action => 'show', :id => 'Task_board', :project_id => 'common' }, :if => Proc.new{User.current.allowed_to?({:controller => 'wiki', :action => 'show', :id => 'Task_board', :project_id => 'common'}, nil, {:global => true}) && RedmineTweaks.settings[:show_task_board_link] }