diff --git a/templates/journey.html.ep b/templates/journey.html.ep
index c13da5fc8e3b44ebed16ea80f6c06f8352ac8c58..c052190100737d6d55e5f7a05bd11cb3a35ff3b8 100644
--- a/templates/journey.html.ep
+++ b/templates/journey.html.ep
@@ -269,7 +269,7 @@
% }
- <%= $journey->{is_iris} ? 'train' : 'directions' %>
+ <%= $journey->{is_hafas} ? 'directions' : 'train' %>
%= $journey->{backend_name} || 'IRIS'
#<%= $journey->{id} %>
diff --git a/templates/landingpage.html.ep b/templates/landingpage.html.ep
index 0ccb1ada5617416b521fc54441cd2da6068e0209..b5d1745af19075627a48bc222f8b5038117391e4 100644
--- a/templates/landingpage.html.ep
+++ b/templates/landingpage.html.ep
@@ -67,12 +67,7 @@
- % if ($user->{backend_id}) {
-
directions<%= $user->{backend_name} %>
- % }
- % else {
-
trainIRIS
- % }
+
<%= $user->{backend_hafas} ? 'directions' : 'train' %><%= $user->{backend_name} // 'IRIS' %>