From: Toshi MARUYAMA Date: Thu, 1 Sep 2011 13:51:30 +0000 (+0000) Subject: rename .rhtml to .html.erb of app/views/issues/_action_menu.rhtml. X-Git-Tag: 1.3.0~954 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=85dfe9eb52a97fdf66e1f8e1cb9ae5906e652877;p=redmine.git rename .rhtml to .html.erb of app/views/issues/_action_menu.rhtml. :rhtml and :rxml were finally removed as template handlers at Rails 3.1 RC4. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7009 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- diff --git a/app/views/issues/_action_menu.html.erb b/app/views/issues/_action_menu.html.erb new file mode 100644 index 000000000..02357751f --- /dev/null +++ b/app/views/issues/_action_menu.html.erb @@ -0,0 +1,9 @@ +
+<%= link_to_if_authorized(l(:button_update), {:controller => 'issues', :action => 'edit', :id => @issue }, :onclick => 'showAndScrollTo("update", "notes"); return false;', :class => 'icon icon-edit', :accesskey => accesskey(:edit)) %> +<%= link_to_if_authorized l(:button_log_time), {:controller => 'timelog', :action => 'new', :issue_id => @issue}, :class => 'icon icon-time-add' %> +<%= watcher_tag(@issue, User.current) %> +<%= link_to_if_authorized l(:button_duplicate), {:controller => 'issues', :action => 'new', :project_id => @project, :copy_from => @issue }, :class => 'icon icon-duplicate' %> +<%= link_to_if_authorized l(:button_copy), {:controller => 'issue_moves', :action => 'new', :id => @issue, :copy_options => {:copy => 't'}}, :class => 'icon icon-copy' %> +<%= link_to_if_authorized l(:button_move), {:controller => 'issue_moves', :action => 'new', :id => @issue}, :class => 'icon icon-move' %> +<%= link_to_if_authorized l(:button_delete), {:controller => 'issues', :action => 'destroy', :id => @issue}, :confirm => issues_destroy_confirmation_message(@issue), :method => :post, :class => 'icon icon-del' %> +
diff --git a/app/views/issues/_action_menu.rhtml b/app/views/issues/_action_menu.rhtml deleted file mode 100644 index 02357751f..000000000 --- a/app/views/issues/_action_menu.rhtml +++ /dev/null @@ -1,9 +0,0 @@ -
-<%= link_to_if_authorized(l(:button_update), {:controller => 'issues', :action => 'edit', :id => @issue }, :onclick => 'showAndScrollTo("update", "notes"); return false;', :class => 'icon icon-edit', :accesskey => accesskey(:edit)) %> -<%= link_to_if_authorized l(:button_log_time), {:controller => 'timelog', :action => 'new', :issue_id => @issue}, :class => 'icon icon-time-add' %> -<%= watcher_tag(@issue, User.current) %> -<%= link_to_if_authorized l(:button_duplicate), {:controller => 'issues', :action => 'new', :project_id => @project, :copy_from => @issue }, :class => 'icon icon-duplicate' %> -<%= link_to_if_authorized l(:button_copy), {:controller => 'issue_moves', :action => 'new', :id => @issue, :copy_options => {:copy => 't'}}, :class => 'icon icon-copy' %> -<%= link_to_if_authorized l(:button_move), {:controller => 'issue_moves', :action => 'new', :id => @issue}, :class => 'icon icon-move' %> -<%= link_to_if_authorized l(:button_delete), {:controller => 'issues', :action => 'destroy', :id => @issue}, :confirm => issues_destroy_confirmation_message(@issue), :method => :post, :class => 'icon icon-del' %> -