Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
ZeMKI
Mesort
Commits
19d51ff3
Commit
19d51ff3
authored
Apr 15, 2020
by
ZeMKI
Browse files
Bugfix interview show
* Bugfix interview show, now you see "from public url".
parent
c10ac601
Changes
2
Hide whitespace changes
Inline
Side-by-side
app/Http/Controllers/InterviewController.php
View file @
19d51ff3
...
...
@@ -37,7 +37,7 @@ class InterviewController extends Controller
$data
[
'study'
]
=
$interview
->
study
;
$data
[
'questions'
]
=
$interview
->
study
->
questions
;
$data
[
'sorting'
]
=
$interview
->
study
->
sortings
[
0
];
$data
[
'author'
]
=
User
::
where
(
'id'
,
$interview
->
author
)
->
first
()
??
$interview
->
author
;
$data
[
'author'
]
=
User
::
where
(
'id'
,
$interview
->
author
)
->
first
()
->
email
??
$interview
->
author
;
Answer
::
assignAnswersToQuestion
(
$interview
,
$data
);
Sorting
::
getSortingInfo
(
$interview
->
study
,
$data
);
Interview
::
getSortingImages
(
$interview
,
$data
);
...
...
resources/views/interview/view.blade.php
View file @
19d51ff3
...
...
@@ -8,7 +8,7 @@
<
h1
class
=
"font-bold text-4xl"
>
{{
$study
->
name
}}
</
h1
>
<
p
class
=
"text-base"
>
<
strong
class
=
""
>
{{
__
(
'Interview done by'
)}}
:</
strong
>
{{
$author
->
email
}}
<
br
>
<
strong
class
=
""
>
{{
__
(
'Interview done by'
)}}
:</
strong
>
{{
$author
}}
<
br
>
<
strong
class
=
""
>
{{
__
(
'Interviewed'
)}}
:
</
strong
>
{{
$interview
->
interviewed
}}
<
br
>
<
strong
class
=
""
>
{{
__
(
'From'
)}}
:
</
strong
>
{{
date
(
'd.m.Y H:i:s'
,
strtotime
(
$interview
->
start
))}}
-
<
strong
class
=
""
>
{{
__
(
'To'
)}}
:
</
strong
>
{{
date
(
'd.m.Y H:i:s'
,
strtotime
(
$interview
->
end
))}}
...
...
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