mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-15 20:54:03 +00:00
Implements feature test for proposal workflog
- submitt proposal - accept proposal - confirm proposal
This commit is contained in:
parent
147310b8b7
commit
656ded9d96
6 changed files with 73 additions and 19 deletions
|
|
@ -29,7 +29,10 @@
|
|||
.pull-right
|
||||
- if event.transition_possible? :confirm
|
||||
= link_to 'Confirm',
|
||||
conference_proposal_confirm_path(@conference.short_title, event, send_mail: false), method: :patch, class: 'btn btn-mini btn-success'
|
||||
= link_to 'Edit', edit_conference_proposal_path(@conference.short_title, event.id), class: 'btn btn-mini btn-primary'
|
||||
conference_proposal_confirm_path(@conference.short_title, event, send_mail: false),
|
||||
method: :patch, class: 'btn btn-mini btn-success', id: 'confirm_proposal'
|
||||
= link_to 'Edit', edit_conference_proposal_path(@conference.short_title, event.id),
|
||||
class: 'btn btn-mini btn-primary', id: 'edit_proposal'
|
||||
= link_to 'Withdraw', conference_proposal_path(@conference.short_title, event.id), method: :delete,
|
||||
confirm: 'Are you sure you want to withdraw this proposal?', class: 'btn btn-mini btn-danger'
|
||||
confirm: 'Are you sure you want to withdraw this proposal?', class: 'btn btn-mini btn-danger',
|
||||
id: 'delete_proposal'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue