summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2021-01-13 19:47:09 +0100
committerDaniel Friesel <derf@finalrewind.org>2021-01-13 19:47:09 +0100
commit54a8828d8c490ecc5926e6e36aea10a6b112c48c (patch)
tree46489fb23a35fb851d221d680c4ad99b9c066e24
parenteeec149f96a11141f8ae6fc417de6620b821b773 (diff)
umlauf-to-dot: link to cycle part when rendering a cycle part
-rwxr-xr-xbin/umlauf-to-dot3
1 files changed, 2 insertions, 1 deletions
diff --git a/bin/umlauf-to-dot b/bin/umlauf-to-dot
index a6fcf55..a28277c 100755
--- a/bin/umlauf-to-dot
+++ b/bin/umlauf-to-dot
@@ -111,8 +111,9 @@ sub build_cycle {
push(
@output,
sprintf(
-"%s [shape=box,href=\"https://lib.finalrewind.org/dbdb/db_umlauf/%s.svg\"];",
+"%s [shape=box,href=\"https://lib.finalrewind.org/dbdb/db_umlauf/%s%s.svg\"];",
format_train( $train_number, $map->{$train_number} ),
+ $limit ? "ausschnitt_" : q{},
$train_number
)
);