From 8a7cd1d7985ec34cad96f42cae9ec25f64831e75 Mon Sep 17 00:00:00 2001 From: tidusjar Date: Thu, 21 Feb 2019 23:01:07 +0000 Subject: [PATCH] card !wip --- .../card/discover-card-details.component.html | 94 ++++++++++++++----- .../card/discover-card-details.component.scss | 4 + src/Ombi/wwwroot/translations/en.json | 1 + 3 files changed, 74 insertions(+), 25 deletions(-) diff --git a/src/Ombi/ClientApp/src/app/discover/card/discover-card-details.component.html b/src/Ombi/ClientApp/src/app/discover/card/discover-card-details.component.html index cf5237867..bb7943b71 100644 --- a/src/Ombi/ClientApp/src/app/discover/card/discover-card-details.component.html +++ b/src/Ombi/ClientApp/src/app/discover/card/discover-card-details.component.html @@ -1,5 +1,5 @@
- +
@@ -16,43 +16,48 @@
- Availability: + Availability: + + [translate]="'Common.NotAvailable'"> +
- Studio: + Studio: {{movie.productionCompanies[0].name}} - Network: + Network: {{tv.network.name}}
Request Status: - - - - + + + + +
- Director: + Director: {{movie.credits.crew[0].name}} - Director: + Director: {{tvCreator}}
- In Cinemas: + In Cinemas: {{movie.releaseDate | amLocal | amDateFormat: 'LL'}} - First Aired: + First Aired: {{tv.firstAired | amLocal | amDateFormat: 'LL'}}
- Writer: + Writer: {{movie.credits.crew[1].name}} - Exec Producer: + Exec Producer: {{tvProducer}}
@@ -70,12 +75,51 @@
-
- +
+ + + + + + + + + + + + + {{'Search.ViewOnPlex' | + translate}} + {{'Search.ViewOnEmby' | + translate}} + +
+ +
+ + + + + {{'Search.ViewOnPlex' | + translate}} + {{'Search.ViewOnEmby' | + translate}} + + +
-
\ No newline at end of file diff --git a/src/Ombi/ClientApp/src/app/discover/card/discover-card-details.component.scss b/src/Ombi/ClientApp/src/app/discover/card/discover-card-details.component.scss index 261093db2..f945ef69d 100644 --- a/src/Ombi/ClientApp/src/app/discover/card/discover-card-details.component.scss +++ b/src/Ombi/ClientApp/src/app/discover/card/discover-card-details.component.scss @@ -28,4 +28,8 @@ h3 strong { .action-buttons-right { width: 100%; text-align: right; +} + +.btn-spacing { + margin-right:1%; } \ No newline at end of file diff --git a/src/Ombi/wwwroot/translations/en.json b/src/Ombi/wwwroot/translations/en.json index 83c587e7b..2f9c065c7 100644 --- a/src/Ombi/wwwroot/translations/en.json +++ b/src/Ombi/wwwroot/translations/en.json @@ -24,6 +24,7 @@ "Denied":"Denied", "Approve":"Approve", "PartlyAvailable": "Partly Available", + "ViewDetails": "View Details", "Errors": { "Validation": "Please check your entered values" }