File Created Date (#1434)
* Capture date when Kavita creates a MangaFile so we can show the date on the UI. * On startup, exit early for migration directory if it's a fresh install and we have migrations to run but no settings stored yet. * Blur summaries should apply when there isn't any read more collapsable * Fixed custom theme files not loading. * Cleaned up the logic for displaying the manga file date
This commit is contained in:
parent
79b8df1112
commit
7a026e9497
11 changed files with 1653 additions and 6 deletions
|
|
@ -143,7 +143,15 @@
|
|||
Pages: {{file.pages | number:''}}
|
||||
</div>
|
||||
<div class="col" *ngIf="data.hasOwnProperty('created')">
|
||||
Added: {{(data.created | date: 'short') || '-'}}
|
||||
Added:
|
||||
<!-- TODO: This data.created can be removed after v0.5.5 release -->
|
||||
<ng-container *ngIf="file.created == '0001-01-01T00:00:00'; else fileDate">
|
||||
{{(data.created | date: 'short') || '-'}}
|
||||
</ng-container>
|
||||
<ng-template #fileDate>
|
||||
{{(file.created | date: 'short') || '-'}}
|
||||
</ng-template>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</li>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue