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
de65447d
Commit
de65447d
authored
Nov 05, 2018
by
cla
Browse files
fix edit link and add status
parent
3dfdc144
Pipeline
#30062
passed with stage
in 35 minutes and 5 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
app/views/semester_process_volunteers/index.html.slim
View file @
de65447d
...
...
@@ -9,6 +9,7 @@ h1= t_title(:index)
thead
tr
th
.hidden-print
Aktionen
th
Status
th
Freiwilige/r
th
Einsätze
th
Missions
...
...
@@ -19,7 +20,12 @@ h1= t_title(:index)
-
@spvs
.
each
do
|
spv
|
tr
td
.index-action-cell.hidden-print
=
button_link
icon_span
(
:edit
),
edit_semester_process_volunteer_path
(
spv
),
title:
'Bearbeiten'
=
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
)
...
...
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