update
parent
4659326acc
commit
09c1fca0aa
|
|
@ -106,12 +106,12 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="flex flex-row md:flex-col justify-end gap-2 md:w-32">
|
<div class="flex flex-row md:flex-col justify-end gap-2 md:w-32">
|
||||||
@if($dataset->tahun >= 2026)
|
@if($dataSet->tahun >= 2026)
|
||||||
<a href="{{url('opendata/dataset/download/'.encode_id(@$dataSet->DatasetId))}}" class="flex-1 md:w-full bg-blue-600 text-white py-2 px-4 rounded-xl text-sm font-bold hover:bg-blue-700 transition-all flex items-center justify-center">
|
<a href="{{url('opendata/dataset/download/'.encode_id(@$dataSet->DatasetId))}}" class="flex-1 md:w-full bg-blue-600 text-white py-2 px-4 rounded-xl text-sm font-bold hover:bg-blue-700 transition-all flex items-center justify-center">
|
||||||
<i data-lucide="download" class="w-4 h-4 mr-2"></i> Unduh
|
<i data-lucide="download" class="w-4 h-4 mr-2"></i> Unduh
|
||||||
</a>
|
</a>
|
||||||
@else
|
@else
|
||||||
<a href="{{asset('uploads/'.@$dataset->file)}}" class="flex-1 md:w-full bg-blue-600 text-white py-2 px-4 rounded-xl text-sm font-bold hover:bg-blue-700 transition-all flex items-center justify-center">
|
<a href="{{asset('uploads/'.@$dataSet->file)}}" class="flex-1 md:w-full bg-blue-600 text-white py-2 px-4 rounded-xl text-sm font-bold hover:bg-blue-700 transition-all flex items-center justify-center">
|
||||||
<i data-lucide="download" class="w-4 h-4 mr-2"></i> Unduh
|
<i data-lucide="download" class="w-4 h-4 mr-2"></i> Unduh
|
||||||
</a>
|
</a>
|
||||||
@endif
|
@endif
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue