From f1ca0ba41421f4e602312b4a3ea6ee8ad13366f1 Mon Sep 17 00:00:00 2001
From: Birte Kristina Friesel
Date: Sat, 1 Feb 2025 20:14:46 +0100
Subject: Switch from DBWagenreihung to DBRIS::Formation
---
templates/about.html.ep | 4 ++--
templates/wagenreihung.html.ep | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
(limited to 'templates')
diff --git a/templates/about.html.ep b/templates/about.html.ep
index b34aa55..90a1a66 100644
--- a/templates/about.html.ep
+++ b/templates/about.html.ep
@@ -22,8 +22,8 @@
v<%= $Travel::Status::DE::HAFAS::VERSION %>
Nah- und Regionalverkehr im In- und Ausland: EFA via Travel::Status::DE::EFA
v<%= $Travel::Status::DE::EFA::VERSION %>
- Wagenreihung im Netz der DB InfraGO: Travel::Status::DE::DBWagenreihung
- v<%= $Travel::Status::DE::DBWagenreihung::VERSION %>
+ Wagenreihung im Netz der DB InfraGO: Travel::Status::DE::DBRIS::Formation
+ v<%= $Travel::Status::DE::DBRIS::Formation::VERSION %>
diff --git a/templates/wagenreihung.html.ep b/templates/wagenreihung.html.ep
index 3da4257..19c49ab 100644
--- a/templates/wagenreihung.html.ep
+++ b/templates/wagenreihung.html.ep
@@ -1,8 +1,8 @@
-% if (not $wr or $wr->errstr) {
+% if (not $wr or $wr_error) {
Fehler bei der Abfrage der Wagenreihung:
- <%= $wr ? $wr->errstr : $wr_error %>
+ <%= $wr_error // 'Unbekannter Fehler' %>
% }
--
cgit v1.2.3