From a371a334d0275badeee552f385fa5902f997db73 Mon Sep 17 00:00:00 2001 From: "Timothy J. Warren" Date: Thu, 30 Apr 2020 15:30:52 -0400 Subject: [PATCH] Collection view tweaks --- ..._media-list.php => _media-select-list.php} | 0 app/views/collection/add.php | 2 +- app/views/collection/cover-item.php | 2 + app/views/collection/cover.php | 9 +-- app/views/collection/edit.php | 2 +- app/views/collection/list-all.php | 44 ++++++++++++++ app/views/collection/list-item.php | 4 +- app/views/collection/list.php | 58 +++++-------------- 8 files changed, 68 insertions(+), 53 deletions(-) rename app/views/collection/{_media-list.php => _media-select-list.php} (100%) create mode 100644 app/views/collection/list-all.php diff --git a/app/views/collection/_media-list.php b/app/views/collection/_media-select-list.php similarity index 100% rename from app/views/collection/_media-list.php rename to app/views/collection/_media-select-list.php diff --git a/app/views/collection/add.php b/app/views/collection/add.php index 0faa46df..7a8bca88 100644 --- a/app/views/collection/add.php +++ b/app/views/collection/add.php @@ -19,7 +19,7 @@ - + diff --git a/app/views/collection/cover-item.php b/app/views/collection/cover-item.php index 5e740899..13b50728 100644 --- a/app/views/collection/cover-item.php +++ b/app/views/collection/cover-item.php @@ -18,7 +18,9 @@
+ 1): ?>
Episodes:
+
diff --git a/app/views/collection/cover.php b/app/views/collection/cover.php index 77be67fd..0d4c1345 100644 --- a/app/views/collection/cover.php +++ b/app/views/collection/cover.php @@ -11,7 +11,7 @@
$items): ?> - type="radio" id="collection-tab-" name="collection-tabs" /> +
@@ -23,17 +23,14 @@ - +
- $items): ?> -

- +
-
diff --git a/app/views/collection/edit.php b/app/views/collection/edit.php index 16a1c38c..c3b8f2b0 100644 --- a/app/views/collection/edit.php +++ b/app/views/collection/edit.php @@ -24,7 +24,7 @@ - + diff --git a/app/views/collection/list-all.php b/app/views/collection/list-all.php new file mode 100644 index 00000000..c7ff2d3d --- /dev/null +++ b/app/views/collection/list-all.php @@ -0,0 +1,44 @@ + + +
+ + + + isAuthenticated()): ?> + + + + + + + + + + + + + generate($collection_type . '.collection.edit.get', ['id' => $item['hummingbird_id']]); ?> + + isAuthenticated()): ?> + + + + + + + + + + + + + +
 TitleMediaEpisode CountEpisode LengthShow TypeAge RatingNotesGenres
+ Edit + + + + + ' . $item['alternate_title'] . '' : '' ?> + 1) ? $item['episode_count'] : '-' ?>
+
\ No newline at end of file diff --git a/app/views/collection/list-item.php b/app/views/collection/list-item.php index 1c758dca..d163ae42 100644 --- a/app/views/collection/list-item.php +++ b/app/views/collection/list-item.php @@ -12,9 +12,9 @@ ' . $item['alternate_title'] . '' : '' ?> - + 1) ? $item['episode_count'] : '-' ?> + - \ No newline at end of file diff --git a/app/views/collection/list.php b/app/views/collection/list.php index d1c2dea8..092d307c 100644 --- a/app/views/collection/list.php +++ b/app/views/collection/list.php @@ -1,3 +1,4 @@ +
isAuthenticated()): ?> Add Item @@ -11,28 +12,26 @@
$items): ?> - type="radio" id="collection-tab-" - name="collection-tabs"/> + +
- - isAuthenticated()): ?> - - - - - - - - - - + + isAuthenticated()): ?> + + + + + + + + - +
ActionsTitleEpisode CountEpisode LengthShow TypeAge RatingGenresNotes
 TitleEpisode CountEpisode LengthShow TypeAge RatingNotesGenres
@@ -40,34 +39,7 @@ - - -
- $items): ?> -

- - - - isAuthenticated()): ?> - - - - - - - - - - - - - - - - -
ActionsTitleEpisode CountEpisode LengthShow TypeAge RatingGenresNotes
- -
+