Downloading files, calculating video size.
This commit is contained in:
@@ -15,13 +15,16 @@
|
||||
@foreach($course->chapters()->get() as $chapter)
|
||||
<tr>
|
||||
<td><a href="{{ route('course.chapter', ['chapter' => $chapter->id]) }}">{{ $chapter->title }}</a></td>
|
||||
<td>{{ $chapter->sync_offline?'Yes':'No' }}</td>
|
||||
<td>{{ $chapter->duration }}</td>
|
||||
<td>{{ $chapter->sync_offline?'Yes':'no' }}</td>
|
||||
<td>{{ $chapter->is_video_file?'Yes':'-' }}</td>
|
||||
</tr>
|
||||
@endforeach
|
||||
<tr>
|
||||
<td></td>
|
||||
<td>Total: {{ $course->course_duration }}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
<td>Total: {{ $course->course_duration }}</td>
|
||||
<td></td>
|
||||
<td>Size: {{ $course->total_size_human }}</td>
|
||||
</tr>
|
||||
</table>
|
||||
</x-layout>
|
||||
|
||||
Reference in New Issue
Block a user