summaryrefslogtreecommitdiff
path: root/lib/Travelynx/Controller/Profile.pm
diff options
context:
space:
mode:
authorCassidy Dingenskirchen <admin@15318.de>2024-01-22 18:53:27 +0100
committerBirte Kristina Friesel <derf@finalrewind.org>2024-01-30 21:04:42 +0100
commit5b3cfd33551deb4ede6ee4e07db95a0570fb412a (patch)
tree021d8e99f851e51317c34e522c4275841c5cb76f /lib/Travelynx/Controller/Profile.pm
parent88866b3a2921f260fa2de72f1f25390d8d458801 (diff)
add title elements
(cherry picked from commit 5d8f6467dc00f03957784230983ed730ec421291) Signed-off-by: Birte Kristina Friesel <derf@finalrewind.org>
Diffstat (limited to 'lib/Travelynx/Controller/Profile.pm')
-rwxr-xr-xlib/Travelynx/Controller/Profile.pm3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/Travelynx/Controller/Profile.pm b/lib/Travelynx/Controller/Profile.pm
index 03f3b0d..f14ea97 100755
--- a/lib/Travelynx/Controller/Profile.pm
+++ b/lib/Travelynx/Controller/Profile.pm
@@ -154,6 +154,7 @@ sub profile {
$self->render(
'profile',
+ title => "travelynx: $name",
name => $name,
uid => $user->{id},
privacy => $user,
@@ -313,6 +314,7 @@ sub journey_details {
}
$self->render(
'journey',
+ title => "travelynx: $title",
error => undef,
journey => $journey,
with_map => 1,
@@ -470,6 +472,7 @@ sub user_status {
any => {
template => 'user_status',
name => $name,
+ title => "travelynx: $tw_data{title}",
privacy => $user,
journey => $status,
twitter => \%tw_data,