summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/Travelynx/Controller/Account.pm9
1 files changed, 6 insertions, 3 deletions
diff --git a/lib/Travelynx/Controller/Account.pm b/lib/Travelynx/Controller/Account.pm
index 08d173a..09aa81a 100644
--- a/lib/Travelynx/Controller/Account.pm
+++ b/lib/Travelynx/Controller/Account.pm
@@ -1008,13 +1008,16 @@ sub backend_form {
for my $backend (@backends) {
my $type = 'UNKNOWN';
if ( $backend->{iris} ) {
- $type = 'IRIS-TTS';
- $backend->{name} = 'DB';
+ $type = 'IRIS-TTS';
+ $backend->{name} = 'DB';
+ $backend->{longname} = 'Deutsche Bahn';
+ $backend->{homepage} = 'https://www.bahn.de';
}
elsif ( $backend->{hafas} ) {
if ( my $s = $self->hafas->get_service( $backend->{name} ) ) {
- $type = 'HAFAS';
+ $type = 'HAFAS';
$backend->{longname} = $s->{name};
+ $backend->{homepage} = $s->{homepage};
}
else {
$type = undef;