summaryrefslogtreecommitdiff
path: root/templates/_backend.html.ep
diff options
context:
space:
mode:
authorBirte Kristina Friesel <derf@finalrewind.org>2024-08-12 18:58:28 +0200
committerBirte Kristina Friesel <derf@finalrewind.org>2024-08-12 18:58:28 +0200
commit9966690253315e1f7ef2e6024668bc4a88b6f6fd (patch)
treee921806ebfb37e5d10b52f5a334b665de37fb14d /templates/_backend.html.ep
parentf4e2c4cf23b2c8063d45340673eef66461a16bf9 (diff)
backend form: include shortname
Diffstat (limited to 'templates/_backend.html.ep')
-rw-r--r--templates/_backend.html.ep3
1 files changed, 2 insertions, 1 deletions
diff --git a/templates/_backend.html.ep b/templates/_backend.html.ep
index 2534e81..ee14448 100644
--- a/templates/_backend.html.ep
+++ b/templates/_backend.html.ep
@@ -10,6 +10,7 @@
% if ($backend->{type} ne $prev_type) {
% $prev_type = $backend->{type};
</p><p>
+ <%= $prev_type %>:<br/>
% }
% my $class = 'button';
% if (param('hafas')) {
@@ -22,7 +23,7 @@
% $class .= ' button-active';
% }
% }
- <a class="<%= $class %>" href="<%= url_for(q{/})->query({ hafas => $backend->{hafas} ? $backend->{shortname} : q{} }) %>"><%= $backend->{name} %> (<%= $backend->{type} %>)</a>
+ <a class="<%= $class %>" href="<%= url_for(q{/})->query({ hafas => $backend->{hafas} ? $backend->{shortname} : q{} }) %>"><%= $backend->{shortname} // 'IRIS-TTS' %> – <%= $backend->{name} %></a>
% }
</p>
</div>