Skip to content

Commit

Permalink
#350 delete_link
Browse files Browse the repository at this point in the history
  • Loading branch information
picman committed Nov 21, 2024
1 parent 8a4218f commit 8654a4b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,8 @@ After download:
cd redmine
bundle install
RAILS_ENV=production bundle exec rake redmine:plugins:migrate NAME=redmine_custom_workflows
RAILS_ENV=production bundle exec rake assets:precompile
chown -R www-data:www-data redmine
systemctl restart apache2
```

Expand Down Expand Up @@ -201,4 +203,4 @@ fall into infinite loop.
Compatibility
-------------

This plug-in is compatible with Redmine 4.1.x., 4.2.x. and 5.0.x.
Redmine 6.x required.
3 changes: 1 addition & 2 deletions app/views/custom_workflows/index.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,7 @@
<% end %>
<%= link_to sprite_icon('download', l(:label_custom_workflow_export)),
export_custom_workflow_path(workflow), class: 'icon icon-download', method: :get %>
<%= link_to sprite_icon('del', l(:button_delete)), workflow, class: 'icon icon-del',
data: { confirm: l(:text_are_you_sure) }, confirm: l(:text_are_you_sure), method: :delete %>
<%= delete_link custom_workflow_path(workflow) %>
</td>
</tr>
<% end %>
Expand Down

0 comments on commit 8654a4b

Please sign in to comment.