mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2026-03-01 05:29:41 +00:00
feat: add total duration and progress to series
This commit is contained in:
parent
b01facc034
commit
00f9940712
3 changed files with 48 additions and 1 deletions
|
|
@ -44,6 +44,14 @@
|
|||
<div class="w-6 h-6 rounded-full bg-black/30 flex items-center justify-center ml-3">
|
||||
<span class="font-mono">{{ $formatNumber(numShowing) }}</span>
|
||||
</div>
|
||||
<div v-if="selectedSeries.totalDuration" class="flex items-center ml-4 text-sm opacity-70 pt-0.5 hidden sm:flex">
|
||||
<template v-if="selectedSeries.progress && selectedSeries.progress.totalDurationListened">
|
||||
<span>{{ $elapsedPretty(selectedSeries.progress.totalDurationListened).replace(' hr', 'h').replace(' min', 'm') }}</span>
|
||||
<span class="mx-1.5">/</span>
|
||||
</template>
|
||||
|
||||
<span>{{ $elapsedPretty(selectedSeries.totalDuration).replace(' hr', 'h').replace(' min', 'm') }}</span>
|
||||
</div>
|
||||
<div class="grow" />
|
||||
|
||||
<!-- RSS feed -->
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue