Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
open-source
aoz-003
Commits
28008949
Commit
28008949
authored
Nov 06, 2018
by
Beat Seeliger
Browse files
Merge branch 'changes/semester-process-volunteer-index' into 'develop'
Changes/semester process volunteer index See merge request
!833
parents
6a8494c9
de65447d
Pipeline
#30181
passed with stage
in 36 minutes and 48 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
app/views/semester_process_volunteers/index.html.slim
View file @
28008949
...
...
@@ -9,27 +9,28 @@ h1= t_title(:index)
thead
tr
th
.hidden-print
Aktionen
th
=
t_attr
(
:full_name
,
Volunteer
)
th
=
t_attr
(
:semester
)
th
Status
th
Freiwilige/r
th
Einsätze
th
Missions
th
=
t_attr
(
:commited_by
)
th
=
t_attr
(
:commited_at
)
th
=
t_attr
(
:creator
)
th
=
t_attr
(
:created_at
)
th
Letzte
Bestätigung
tbody
-
@spvs
.
each
do
|
spv
|
tr
td
.index-action-cell.hidden-print
=
link_to
t_action
(
:show
),
spv
=
link_to
t_action
(
:edit
),
edit_semester_process_volunteer_path
(
spv
)
=
button_link
icon_span
(
:edit
),
review_semester_semester_process_volunteer_path
(
spv
),
title:
'Bearbeiten'
td
-
if
spv
.
commited_at
.
present?
.label.label-success
Bestätigt
-
else
.label.label-warning
Unbestätigt
td
=
link_to_if
policy
(
Volunteer
).
edit?
,
spv
.
volunteer
.
contact
.
full_name
,
edit_volunteer_path
(
spv
.
volunteer
)
td
=
spv
.
semester_t
td
=
render_missions
(
spv
)
td
=
spv
.
commited_by
td
=
spv
.
commited_at
&&
l
(
spv
.
commited_at
)
td
=
spv
.
creator
td
=
l
(
spv
.
created_at
)
=
bootstrap_paginate
(
@spvs
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment