Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
simpmw
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Alfiro Pratama
simpmw
Commits
2fa52189
Commit
2fa52189
authored
a week ago
by
Alfiro Pratama
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix kondisi proposalUrl
parent
cd38bd41
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
14 additions
and
6 deletions
+14
-6
app/Http/Controllers/Operator/ProposalController.php
+1
-1
resources/views/backend/mahasiswa/proposal/index.blade.php
+1
-1
resources/views/backend/reviewer/seleksi/nilai.blade.php
+12
-4
No files found.
app/Http/Controllers/Operator/ProposalController.php
View file @
2fa52189
...
...
@@ -178,7 +178,7 @@ class ProposalController extends Controller
<tr>
<th>Video Produk</th>
<td>'
;
if
(
$record
->
url
)
{
if
(
$record
->
url
&&
$record
->
url
!==
'-'
)
{
$aksi
.=
'<button id="preview-video'
.
$record
->
id
.
'" class="btn btn-success btn-sm" data-video="'
.
$record
->
url
.
'">
<i class="far fa-eye"></i> Lihat Video
</button>'
;
...
...
This diff is collapsed.
Click to expand it.
resources/views/backend/mahasiswa/proposal/index.blade.php
View file @
2fa52189
...
...
@@ -168,7 +168,7 @@
<tr>
<th>Video Produk</th>
<td>
@if(
$item->
upload_dokumen
)
@if(
$item->
rProposalUrl
&&
$item->rProposalUrl
->url &&
$item->rProposalUrl
->url !== '-'
)
{{-- @php
@dd(
$item->rProposalUrl
->url);
@endphp --}}
...
...
This diff is collapsed.
Click to expand it.
resources/views/backend/reviewer/seleksi/nilai.blade.php
View file @
2fa52189
...
...
@@ -62,10 +62,18 @@
<div class="
col
-
sm
-
10
">
<ul>
@foreach (
$proposal->proposalUrl
as
$item
)
<li>
<a class="
btn
btn
-
link
" href="
{{
$item
->
url
}}
">{{
$item->url_name
}}</a>
<p>{{
$item->deskripsi
}}</p>
</li>
@if(
$item->url
&&
$item->url
!== '-')
<li>
<a class="
btn
btn
-
link
" href="
{{
$item
->
url
}}
">{{
$item->url_name
}}</a>
<p>{{
$item->deskripsi
}}</p>
</li>
@else
<li>
<div class="
alert
alert
-
danger
mb
-
0
" role="
alert
">
<strong>Informasi!</strong> File tidak ditemukan.
</div>
</li>
@endif
@endforeach
</ul>
</div>
...
...
This diff is collapsed.
Click to expand it.
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