mirror of
https://gitlab.com/TheGamecraft/c-cms.git
synced 2026-04-21 02:39:10 -04:00
April 9 update
This commit is contained in:
@@ -58,6 +58,7 @@
|
||||
<th>Date</th>
|
||||
<th>Instructeur</th>
|
||||
<th>Niveau</th>
|
||||
<th style="width: 8rem">Plan de cours</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
@@ -67,6 +68,23 @@
|
||||
<td>{{$course->event->date_begin}}</td>
|
||||
<td>{{$course->instructor()}}</td>
|
||||
<td>{{$course->level}}</td>
|
||||
<td class="text-center">
|
||||
@if($course->lessonPlan)
|
||||
<a href="/file/get?d={{urlencode(\App\GoogleDriveFile::findByPath('.Systeme/.Fichier/.PlanDeCours')->id)}}&f={{urlencode($course->lessonPlan->file)}}">
|
||||
@if($course->lessonPlan->approved == 1)
|
||||
<i class="fas fa-check-circle text-success fa-2x" data-toggle="tooltip"
|
||||
data-placement="top" title="Plan de cours remis et vérifié"></i>
|
||||
@else
|
||||
<i class="fas fa-exclamation-circle text-warning fa-2x"
|
||||
data-toggle="tooltip" data-placement="top"
|
||||
title="Plan de cours remis mais non vérifié"></i>
|
||||
@endif
|
||||
</a>
|
||||
@else
|
||||
<i class="fas fa-times-circle text-danger fa-2x" data-toggle="tooltip"
|
||||
data-placement="top" title="Plan de cours non remis"></i>
|
||||
@endif
|
||||
</td>
|
||||
</tr>
|
||||
@endforeach
|
||||
</tbody>
|
||||
@@ -90,7 +108,6 @@
|
||||
$('.tooltip').tooltip('enable')
|
||||
$(document).ready(function() {
|
||||
$('#table').DataTable({
|
||||
"lengthMenu": [[25, 50, -1], [25, 50, "All"]],
|
||||
"ordering" : true,
|
||||
"order": [[1, "asc"]]
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user