mirror of
https://github.com/anteo/redmine_custom_workflows.git
synced 2026-01-26 00:04:20 +00:00
#350 delete_link
This commit is contained in:
parent
8a4218fa11
commit
8654a4b21b
@ -76,6 +76,8 @@ After download:
|
|||||||
cd redmine
|
cd redmine
|
||||||
bundle install
|
bundle install
|
||||||
RAILS_ENV=production bundle exec rake redmine:plugins:migrate NAME=redmine_custom_workflows
|
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
|
systemctl restart apache2
|
||||||
```
|
```
|
||||||
|
|
||||||
@ -201,4 +203,4 @@ fall into infinite loop.
|
|||||||
Compatibility
|
Compatibility
|
||||||
-------------
|
-------------
|
||||||
|
|
||||||
This plug-in is compatible with Redmine 4.1.x., 4.2.x. and 5.0.x.
|
Redmine 6.x required.
|
||||||
|
|||||||
@ -59,8 +59,7 @@
|
|||||||
<% end %>
|
<% end %>
|
||||||
<%= link_to sprite_icon('download', l(:label_custom_workflow_export)),
|
<%= link_to sprite_icon('download', l(:label_custom_workflow_export)),
|
||||||
export_custom_workflow_path(workflow), class: 'icon icon-download', method: :get %>
|
export_custom_workflow_path(workflow), class: 'icon icon-download', method: :get %>
|
||||||
<%= link_to sprite_icon('del', l(:button_delete)), workflow, class: 'icon icon-del',
|
<%= delete_link custom_workflow_path(workflow) %>
|
||||||
data: { confirm: l(:text_are_you_sure) }, confirm: l(:text_are_you_sure), method: :delete %>
|
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<% end %>
|
<% end %>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user