Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
aoz-003
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
2
Merge Requests
2
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Container Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
open-source
aoz-003
Commits
b474a2b9
Commit
b474a2b9
authored
Nov 26, 2018
by
Chrysanthi Lagodimou
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Check if current user exists before displaying warning
parent
3fcab4d2
Pipeline
#31799
passed with stage
in 37 minutes and 55 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
app/views/application/_unsubmitted_semester_feedback_notification.html.slim
...ion/_unsubmitted_semester_feedback_notification.html.slim
+1
-1
No files found.
app/views/application/_unsubmitted_semester_feedback_notification.html.slim
View file @
b474a2b9
-
if
current_user
.
volunteer?
&&
current_user
.
volunteer
.
unsubmitted_semester_feedbacks?
-
if
!
current_user
.
nil?
&&
current_user
.
volunteer?
&&
current_user
.
volunteer
.
unsubmitted_semester_feedbacks?
-
current_user
.
volunteer
.
unsubmitted_semester_feedbacks
.
each
do
|
spv
|
-
message
=
'Sie haben einen ausstehenden Halbjahres-Rapport für dieses Semester. '
-
message
<<
"<a href='
#{
review_semester_semester_process_volunteer_path
(
spv
)
}
'>Bitte klicken Sie hier um diesen zu bestätigen.</a>"
.
html_safe
...
...
Write
Preview
Markdown
is supported
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