diff --git a/app/appConf/routes.php b/app/appConf/routes.php
index 37e4ca70..7a8a7de6 100644
--- a/app/appConf/routes.php
+++ b/app/appConf/routes.php
@@ -183,10 +183,13 @@ return [
]
],
'user_info' => [
- 'path' => '/me',
- 'action' => 'me',
- 'controller' => 'me',
+ 'path' => '/about/{user}',
+ 'action' => 'about',
+ 'controller' => DEFAULT_CONTROLLER,
'verb' => 'get',
+ 'tokens' => [
+ 'user' => '.*?'
+ ]
],
// ---------------------------------------------------------------------
// Default / Shared routes
diff --git a/app/views/anime/details.php b/app/views/anime/details.php
index b31bbe5d..201f89c9 100644
--- a/app/views/anime/details.php
+++ b/app/views/anime/details.php
@@ -88,6 +88,12 @@
+ 0 && count($staff) > 0): ?>
+
+
+
+
+
0): ?>
diff --git a/app/views/character.php b/app/views/character.php
index 0c406da5..fe862ede 100644
--- a/app/views/character.php
+++ b/app/views/character.php
@@ -31,82 +31,158 @@ use Aviat\AnimeClient\API\Kitsu;
Media
-
+
0): ?>
Castings
+
+
+
+ Voice Actors
+
+
+
+
+ $casting): ?>
+
type="radio" id="character-va= $i ?>"
+ name="character-vas"
+ />
+
+
+
+
+
+
+
+
$entries): ?>
= $role ?>
$casting): ?>
diff --git a/app/views/main-menu.php b/app/views/main-menu.php
index eabd8ec0..b80bf053 100644
--- a/app/views/main-menu.php
+++ b/app/views/main-menu.php
@@ -51,7 +51,7 @@ $hasManga = stripos($_SERVER['REQUEST_URI'], 'manga') !== FALSE;
[= $helper->a(
- $url->generate('user_info'),
+ $url->generate('user_info', ['user' => 'me']),
'About '. $config->get('whose_list')
) ?>]
diff --git a/app/views/me.php b/app/views/me.php
index f53030a7..65cf69f8 100644
--- a/app/views/me.php
+++ b/app/views/me.php
@@ -1,20 +1,15 @@
-
+
-
- " alt="" />
+
@@ -38,7 +33,7 @@
$character = $relationships['waifu']['attributes'];
echo $helper->a(
$url->generate('character', ['slug' => $character['slug']]),
- $character['name']
+ $character['canonicalName']
);
?>
@@ -47,6 +42,10 @@
User Stats |
+
+ Time spent watching anime: |
+ = $timeOnAnime ?> |
+
# of Posts |
= $attributes['postsCount'] ?> |
@@ -62,19 +61,30 @@
+
+
- - About:
+ About:
- = $escape->html($attributes['about']) ?>
+
+
Favorites
-
Favorite Characters
+
Characters
-
Favorite Anime
+
Anime
-
Favorite Manga
+
Manga