Commit 306e7672 authored by Chrysanthi Lagodimou's avatar Chrysanthi Lagodimou
Browse files

affirmation also on volunteer show

parent fb621ac0
.row
.col-xs-12
button.btn.btn-primary(data-toggle='collapse' data-target='#journalBlock' type='button' aria-expanded='false' aria-controls='journalBlock')
= 'Journal'
button.btn.btn-primary(data-toggle='collapse' data-target='#journalBlock' type='button' aria-expanded='false' aria-controls='journalBlock')
= 'Journal'
#journalBlock.collapse
.row
......
......@@ -2,6 +2,9 @@ h1= @volunteer.contact.full_name
nav.navbar.section-navigation
ul.list-inline
- if policy(Volunteer).acceptance?
li.button-acceptance = link_to t(".acceptance.#{@volunteer.acceptance}"), '#',
class: "btn btn-acceptance-#{@volunteer.acceptance}"
- if policy(Volunteer).can_manage?
li= render 'journals/journal_block', journaled_for: @volunteer
ul.list-inline
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment