Commit 9b0cb1b3 authored by Tugce Nur Tas's avatar Tugce Nur Tas
Browse files

feat(80): rename "Bemerkung" to "Rückmeldung"

parent 4010e3fd
......@@ -7,7 +7,7 @@ table.table.table-striped.assignment-logs-table
th= t_attr(:period_end, Assignment)
th Fallführende Stelle
- if policy(Assignment).show_comments?
th= t_attr(:comments)
th Rückmeldung
th colspan=2
tbody
- assignment_logs.each do |assignment_log|
......@@ -50,7 +50,7 @@ table.table.table-striped.assignment-logs-table
td= link_to_if(assignment && policy(assignment).show?,
t_action(:show), assignment) { '' }
- if policy(Assignment).show_comments?
= td_truncate_content_modal(assignment.comments, 'Bemerkungen')
= td_truncate_content_modal(assignment.comments, 'Rückmeldung')
td.index-action-cell.hidden-print
span
- unless assignment.volunteer.external?
......
......@@ -17,7 +17,7 @@ tr
assignment.client.involved_authority&.full_name || assignment.creator.full_name,
profile_url_path(assignment.client.involved_authority || assignment.creator)
- if policy(Assignment).show_comments?
= td_truncate_content_modal(assignment.comments, 'Bemerkungen')
= td_truncate_content_modal(assignment.comments, 'Rückmeldung')
- if controller_name == 'volunteers' && !assignment.volunteer.external?
- if policy(TrialFeedback).index?
td.index-action-cell.hidden-print
......
......@@ -12,7 +12,7 @@
th= sort_link @q, :period_end, t_attr(:period_end, Assignment)
th= 'Fallführende Stelle'
- if policy(Assignment).show_comments?
th= t_attr(:comments)
th Rückmeldung
th.hidden-print colspan='4'
tbody
......
......@@ -10,7 +10,7 @@ table.table.table-striped.assignments-table
th= t_attr(:period_start, Assignment)
th= t_attr(:period_end, Assignment)
th= t_attr(:created_by)
th Bemerkungen
th Rückmeldung
- if controller_name == 'volunteers'
th colspan=2
......
......@@ -28,7 +28,7 @@
= f.input :period, as: :date_range_picker, label: false
- if policy(Assignment).show_comments?
.col-xs-12.col-md-6
= f.input :comments
= f.input :comments, label: 'Rückmeldung'
.col-xs-12.col-md-6
= f.input :additional_comments
......
......@@ -7,7 +7,7 @@ table.table.table-striped.group-assignments-table
th= t_attr(:period_start, GroupAssignment)
th= t_attr(:period_end, GroupAssignment)
- if policy(GroupAssignment).show_comments?
th= t_attr(:comments)
th Rückmeldung
th colspan=2
tbody
- group_assignment_logs.each do |group_assignment_log|
......@@ -34,7 +34,7 @@ table.table.table-striped.group-assignments-table
td= l(group_assignment.period_start) if group_assignment.period_start
td= l(group_assignment.period_end) if group_assignment.period_end
- if policy(GroupAssignment).show_comments?
= td_truncate_content_modal(group_assignment.comments, 'Bemerkungen')
= td_truncate_content_modal(group_assignment.comments, 'Rückmeldung')
td= link_to_if(policy(group_offer).show? && !group_offer.deleted?,
t_action(:show), group_offer_path(group_offer)) { '' }
td.index-action-cell.hidden-print
......
......@@ -18,7 +18,7 @@
.col-xs-12.col-md-6
= f.input :period, as: :date_range_picker, label: false
- if policy(GroupAssignment).show_comments?
= f.input :comments
= f.input :comments, label: 'Rückmeldung'
= f.input :additional_comments
= f.input :agreement_text, input_html: { class: 'text-body' }, label: t('assignment_pdf.agreement_text')
- if @group_assignment.pdf.exists?
......
......@@ -9,7 +9,7 @@ table.table.table-striped.group-assignments-table
th= t_attr(:period_start, GroupAssignment)
th= t_attr(:period_end, GroupAssignment)
- if policy(GroupAssignment).show_comments?
th= t_attr(:comments)
th Rückmeldung
th colspan=(editable ? '7' : '2')
tbody
- group_assignments.each do |group_assignment|
......@@ -45,7 +45,7 @@ table.table.table-striped.group-assignments-table
td= l(group_assignment.period_start) if group_assignment.period_start
td= l(group_assignment.period_end) if group_assignment.period_end
- if policy(GroupAssignment).show_comments?
= td_truncate_content_modal(group_assignment.comments, 'Bemerkungen')
= td_truncate_content_modal(group_assignment.comments, 'Rückmeldung')
- if editable && !@volunteer.external?
td.index-action-cell.hidden-print
- if policy(TrialFeedback).index?
......
Markdown is supported
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