diff options
author | Go MAEDA <maeda@farend.jp> | 2017-11-25 16:30:23 +0000 |
---|---|---|
committer | Go MAEDA <maeda@farend.jp> | 2017-11-25 16:30:23 +0000 |
commit | fc93f14d642c560531bd13213dc4344c0d914ec4 (patch) | |
tree | b887121231374bcdde7fb1685da5a0319b8f2220 /app/views/gantts | |
parent | 4b30e7a90e21840eddabc67d42efa6b2c41ac60f (diff) | |
download | redmine-fc93f14d642c560531bd13213dc4344c0d914ec4.tar.gz redmine-fc93f14d642c560531bd13213dc4344c0d914ec4.zip |
Add right-click context menu to gantt subjects (#10485).
Contributed by Mizuki ISHIKAWA.
git-svn-id: http://svn.redmine.org/redmine/trunk@17030 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/gantts')
-rw-r--r-- | app/views/gantts/show.html.erb | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/app/views/gantts/show.html.erb b/app/views/gantts/show.html.erb index 9703e962e..b3a02316b 100644 --- a/app/views/gantts/show.html.erb +++ b/app/views/gantts/show.html.erb @@ -151,7 +151,9 @@ %> <%= content_tag(:div, "", :style => style, :class => "gantt_hdr") %> <%= content_tag(:div, :class => "gantt_subjects") do %> - <%= @gantt.subjects.html_safe %> + <%= form_tag({}, :data => {:cm_url => issues_context_menu_path}) do -%> + <%= @gantt.subjects.html_safe %> + <% end %> <% end %> <% end %> </td> @@ -378,3 +380,4 @@ resizableSubjectColumn(); }); <% end %> +<%= context_menu %> |