From f9a667b20bef44060e22a1efa7cb3effccb8ee29 Mon Sep 17 00:00:00 2001 From: Timothy J Warren Date: Thu, 14 Sep 2017 17:33:24 -0400 Subject: [PATCH] Tweak handling of empty list sections --- app/views/anime/cover.php | 7 ++ app/views/anime/list.php | 158 +++++++++++++++++++------------------- app/views/manga/cover.php | 7 ++ app/views/manga/list.php | 116 ++++++++++++++-------------- 4 files changed, 155 insertions(+), 133 deletions(-) diff --git a/app/views/anime/cover.php b/app/views/anime/cover.php index b3526d68..b43dc9d3 100644 --- a/app/views/anime/cover.php +++ b/app/views/anime/cover.php @@ -6,6 +6,12 @@

There's nothing here!

$items): ?> + +
+

html($name) ?>

+

There's nothing here!

+
+

html($name) ?>

@@ -88,6 +94,7 @@
+ diff --git a/app/views/anime/list.php b/app/views/anime/list.php index f898125a..2f67c626 100644 --- a/app/views/anime/list.php +++ b/app/views/anime/list.php @@ -7,86 +7,90 @@ $items): ?>

- - - - isAuthenticated()): ?> - - - - - - - - - - - - - - - - isAuthenticated()) continue; ?> - - isAuthenticated()): ?> - - - - - - - - - + + + + + +
 TitleAiring StatusScoreTypeProgressRatedAttributesNotesGenres
- Edit - - - - - -
- -
/ 10 - Episodes:
-  /  -
-
    - 0): ?> -
  • Rewatched time(s)
  • + +

    There's nothing here!

    + + + + + isAuthenticated()): ?> + - - -
  • + + + + + + + + + + + + + + isAuthenticated()) continue; ?> + + isAuthenticated()): ?> + + + + + + + + + - + - - - - - -
      TitleAiring StatusScoreTypeProgressRatedAttributesNotesGenres
    + Edit + + + + + +
    + +
    / 10 + Episodes:
    +  /  +
    +
      + 0): ?> +
    • Rewatched time(s)
    • - -
    -
    - - - + + +
  • + + + +
    + + + + + + - - - - - - -

    html($item['notes']) ?>

    -
    - - -
    + + +
+

html($item['notes']) ?>

+
+ + +
+ diff --git a/app/views/manga/cover.php b/app/views/manga/cover.php index e334ba74..90d02e97 100644 --- a/app/views/manga/cover.php +++ b/app/views/manga/cover.php @@ -6,6 +6,12 @@

There's nothing here!

$items): ?> + +
+

html($name) ?>

+

There's nothing here!

+
+

html($name) ?>

@@ -78,6 +84,7 @@
+ diff --git a/app/views/manga/list.php b/app/views/manga/list.php index 8edbc7db..89c2fe19 100644 --- a/app/views/manga/list.php +++ b/app/views/manga/list.php @@ -7,64 +7,68 @@ $items): ?>

- - - - isAuthenticated()): ?> - - - - - - - - - - - - - - - isAuthenticated()): ?> - - - - - - - + + + + + +
 TitleRatingCompleted Chapters# of VolumesAttributesTypeGenres
- Edit - - - - - -
- -
/ 10 / -
    - 0): ?> -
  • Reread time(s)
  • + +

    There's nothing here!

    + + + + + isAuthenticated()): ?> + - - -
  • + + + + + + + + + + + + + isAuthenticated()): ?> + + + + + + + - - - - - -
      TitleRatingCompleted Chapters# of VolumesAttributesTypeGenres
    + Edit + + + + + +
    + +
    / 10 / +
      + 0): ?> +
    • Reread time(s)
    • - -
    -
    - -
    + + +
  • + + +
+
+ +
+