Skip to content

Commit

Permalink
Change version number to 0.0.3 and modify readme. (IssueID: #948)
Browse files Browse the repository at this point in the history
  • Loading branch information
akiko-pusu committed Feb 11, 2012
1 parent 4e67cff commit 8da3d2d
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 8 deletions.
15 changes: 9 additions & 6 deletions README.rdoc
Original file line number Diff line number Diff line change
Expand Up @@ -15,19 +15,22 @@ Corrently migration task is not required.
You can edit banner message and select style for message.
Also You can access setting page from administration menu, click "banner" icon.

=== To-do

Enabled to show banner on just after top-menu, I've override the view file. (app/views/layouts/base.rhtml)
So something wrong may be happened with later version of Redmine.
I've made request about this, ref. http://www.redmine.org/issues/9915.

=== Note

To use this plugin previous version (1.xx, 1.0.x...), please see this instruction.
https://github.com/akiko-pusu/redmine_banner/wiki/How-to-use-this-plugin-previous-version-(1.xx,-1.0.x...)

== Changelog

=== 0.0.3

* Code refactoring. Stop to override base.rhtml and use javascript.
Great thanks, Haru Iida-san.
Also, remove some "To-Do" section of README.

* Add translations. Russian, German, Brazilian Portugues.
Thak you so much, Александр Ананьев, Denny Schäfer, Maiko de Andrade!

=== 0.0.2

* Support i18n.
Expand Down
2 changes: 1 addition & 1 deletion init.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
name 'Redmine Banner plugin'
author 'Akiko Takano'
description 'Plugin to show site-wide message, such as maintenacne informations or notifications.'
version '0.0.2'
version '0.0.3'
requires_redmine :version_or_higher => '1.2.0'
url 'https://github.com/akiko-pusu/redmine_banner'

Expand Down
3 changes: 2 additions & 1 deletion lib/banner_application_hooks.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,11 @@ def view_layouts_base_html_head(context = {})
return o
end

# TODO: view_layouts_base_after_top_menu is not supported Redmine itself. (Submitted ticket: http://www.redmine.org/issues/9915)
render_on :view_layouts_base_body_bottom, :partial => 'banner/body_bottom'
end

# TODO: view_layouts_base_after_top_menu is not supported Redmine itself.
# Now use javascript to insert after top-menu. (Submitted ticket: http://www.redmine.org/issues/9915)
class BannerTopMenuHooks < Redmine::Hook::ViewListener
render_on :view_layouts_base_body_bottom, :partial => 'banner/after_top_menu'
end

0 comments on commit 8da3d2d

Please sign in to comment.