Verified Commit c14910ce authored by Kaspar Vollenweider's avatar Kaspar Vollenweider 👻
Browse files

chore(semester-process): minor view fixes

parent cd919012
...@@ -22,6 +22,7 @@ class SemesterProcessesController < ApplicationController ...@@ -22,6 +22,7 @@ class SemesterProcessesController < ApplicationController
@semester_process.creator = current_user @semester_process.creator = current_user
@semester_process.build_semester_volunteers(@volunteers, selected_volunteers) @semester_process.build_semester_volunteers(@volunteers, selected_volunteers)
@semester_process.build_volunteers_hours_feedbacks_and_mails @semester_process.build_volunteers_hours_feedbacks_and_mails
authorize @semester_process authorize @semester_process
if @semester_process.save if @semester_process.save
redirect_to @semester_process, notice: 'Semester process was successfully created.' redirect_to @semester_process, notice: 'Semester process was successfully created.'
......
...@@ -10,7 +10,7 @@ h1= t_title(:index) ...@@ -10,7 +10,7 @@ h1= t_title(:index)
tr tr
th.hidden-print Aktionen th.hidden-print Aktionen
th= t_attr(:creator) th= t_attr(:creator)
th= t_attr(:period) th= t_attr(:semester)
th= t_attr(:created_at) th= t_attr(:created_at)
tbody tbody
...@@ -19,10 +19,10 @@ h1= t_title(:index) ...@@ -19,10 +19,10 @@ h1= t_title(:index)
td.index-action-cell.hidden-print td.index-action-cell.hidden-print
= link_to t_action(:show), semester_process = link_to t_action(:show), semester_process
= link_to t_action(:edit), edit_semester_process_path(semester_process) = link_to t_action(:edit), edit_semester_process_path(semester_process)
= link_to navigation_glyph(:delete), semester_process_path(semester_process), confirm_deleting(semester_process) = link_to icon_span(:delete), semester_process_path(semester_process), confirm_deleting(semester_process)
td = semester_process.creator td = semester_process.creator
td = semester_process.period_start td = semester_process.semester
td = semester_process.period_end td= l(semester_process.created_at)
= bootstrap_paginate(@semester_processes) = bootstrap_paginate(@semester_processes)
......
h1= t_title(:new) h1= t_title(:show)
p p
strong User: strong User:
......
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