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
8c69cfed
Commit
8c69cfed
authored
Oct 23, 2018
by
Jiri Strojil
Browse files
Tmp
parent
7994dbf7
Changes
1
Hide whitespace changes
Inline
Side-by-side
app/views/semester_process_volunteers/index.html.slim
View file @
8c69cfed
...
...
@@ -9,8 +9,10 @@ h1= t_title(:index)
thead
tr
th
.hidden-print
Aktionen
th
=
t_attr
(
:full_name
,
Volunteer
)
th
=
t_attr
(
:creator
)
th
=
t_attr
(
:semester
)
th
Missions
th
=
t_attr
(
:created_at
)
tbody
...
...
@@ -19,8 +21,11 @@ h1= t_title(:index)
td
.index-action-cell.hidden-print
=
link_to
t_action
(
:show
),
spv
=
link_to
t_action
(
:edit
),
edit_semester_process_volunteer_path
(
spv
)
td
=
link_to_if
policy
(
Volunteer
).
edit?
,
spv
.
volunteer
.
contact
.
full_name
,
edit_volunteer_path
(
spv
.
volunteer
)
td
=
spv
.
creator
td
=
spv
.
semester_t
-
spv
.
missions
.
each
do
|
m
|
td
=
link_to
m
.
to_label
,
m
.
id
.
to_s
,
target:
'_blank'
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