summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2015-10-21 12:23:50 +0200
committerDaniel Friesel <derf@finalrewind.org>2015-10-21 12:23:50 +0200
commit782213d9c1578e4f47a6dceb71714f06952404fa (patch)
treebe31d36fc2ea635e1984b3c677de6c375592c0ec
parent925c9a2ef9ee074f0ed3dff2b0c69c542051cd35 (diff)
json readme: fix project / manual links
-rw-r--r--templates/main.html.ep10
1 files changed, 5 insertions, 5 deletions
diff --git a/templates/main.html.ep b/templates/main.html.ep
index 1c7d8e6..75c8791 100644
--- a/templates/main.html.ep
+++ b/templates/main.html.ep
@@ -48,11 +48,11 @@ Data is cached for 1 minute. JSON format:
<li>error: err string if an error occured, otherwise null</li>
<li>preformatted: strings used by the PNG / HTML frontend</li>
<li>raw:
-% if (param('backend') and param('backend') eq 'db') {
+% if (param('backend') and param('backend') =~ m{ ^db | ^hafas }x) {
serialized
<a href="http://finalrewind.org/projects/Travel-Status-DE-DeutscheBahn/">
Travel::Status::DE::HAFAS</a>-objects, see the
-<a href="http://man.finalrewind.org/3/Travel-Status-DE-DeutscheBahn-Result/">::Result</a>
+<a href="http://man.finalrewind.org/3/Travel-Status-DE-HAFAS-Result/">::Result</a>
documentation
% }
% elsif (param('backend') and param('backend') eq 'aseag') {
@@ -65,10 +65,10 @@ documentation
% else {
serialized
<a href="http://finalrewind.org/projects/Travel-Status-DE-VRR/">
-Travel::Status::DE::VRR</a>-objects, see the
-<a href="http://man.finalrewind.org/3/Travel-Status-DE-VRR-Result/">::Result</a>
+Travel::Status::DE::EFA</a>-objects, see the
+<a href="http://man.finalrewind.org/3/Travel-Status-DE-EFA-Result/">::Result</a>
and
-<a href="http://man.finalrewind.org/3/Travel-Status-DE-VRR-Line/">::Line</a>
+<a href="http://man.finalrewind.org/3/Travel-Status-DE-EFA-Line/">::Line</a>
documentation
% }
</li>