Downloading files, calculating video size.
This commit is contained in:
1 parent
2c62880282
commit
55c104629f
9 files changed
+77
-23
No files matched your search
@@ -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