diff --git a/README.md b/README.md index b90dde1..14b7f8c 100644 --- a/README.md +++ b/README.md @@ -12,5 +12,6 @@ git clone https://git.licsber.site/ruby/open_explorer ## ChangeLog ``` -250823周六:(0.0.2)位置改为上下文菜单之下 +250823周六:(0.0.3)修改按钮出现位置 +250823周六:(0.0.1)基础功能 ``` diff --git a/app/views/hooks/_view_issues_context_menu_end.html.erb b/app/views/hooks/_view_issues_show_details_bottom.html.erb similarity index 100% rename from app/views/hooks/_view_issues_context_menu_end.html.erb rename to app/views/hooks/_view_issues_show_details_bottom.html.erb diff --git a/init.rb b/init.rb index c98443c..b335e0c 100644 --- a/init.rb +++ b/init.rb @@ -2,7 +2,7 @@ Redmine::Plugin.register :open_explorer do name 'Open Explorer plugin' author 'licsber' description 'Open archive path using explorer.' - version '0.0.2' + version '0.0.3' url 'https://git.licsber.site/ruby/open_explorer' author_url 'https://licsber.site' end diff --git a/lib/hooks.rb b/lib/hooks.rb index 6c3c874..5c7f5b8 100644 --- a/lib/hooks.rb +++ b/lib/hooks.rb @@ -1,4 +1,4 @@ class Hooks < Redmine::Hook::ViewListener - render_on :view_issues_context_menu_end, - :partial => 'hooks/view_issues_context_menu_end' + render_on :view_issues_show_details_bottom, + :partial => 'hooks/view_issues_show_details_bottom' end