UI Tweaks (#722)

* Added Date Added time to volume/chapter card detail modals to help users understand when new chapters are added after something has been fully read. Changed Created -> Added for better clarity.

* updating workflow discord parser

- Added ` and > to parser

Co-authored-by: Robbie Davis <robbie@therobbiedavis.com>
This commit is contained in:
Joseph Milazzo 2021-11-04 21:48:23 -05:00 committed by GitHub
parent fa44f130e3
commit 073dd5da99
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 25 additions and 4 deletions

View file

@ -15,4 +15,5 @@ export interface Chapter {
pagesRead: number; // Attached for the given user when requesting from API
isSpecial: boolean;
title: string;
created: string;
}

View file

@ -21,7 +21,7 @@
</div>
</div>
<div class="row no-gutters">
<div class="col" *ngIf="utilityService.isVolume(data)">
<div class="col" *ngIf="data.hasOwnProperty('created')">
Added: {{(data.created | date: 'short') || '-'}}
</div>
<div class="col">

View file

@ -110,7 +110,7 @@
<div>
<div class="row no-gutters">
<div class="col">
Created: {{volume.created | date: 'short'}}
Added: {{volume.created | date: 'short'}}
</div>
<div class="col">
Last Modified: {{volume.lastModified | date: 'short'}}