From fa0c4f8837bd3270a739ce5d7b4b82473ea67268 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Sun, 27 Jun 2021 11:16:07 +0200 Subject: show line types in stop search --- bin/nvm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'bin/nvm') diff --git a/bin/nvm b/bin/nvm index 53cfb74..81289b8 100755 --- a/bin/nvm +++ b/bin/nvm @@ -86,7 +86,9 @@ class Line: self.__dict__.update(obj) self.css_class = str() - if self.product == "tram": + if self.product.startswith("national"): + self.css_class = "longdistance" + elif self.product == "tram": self.name = self.name.removeprefix("STR ") self.css_class = "tram" elif self.product == "suburban": -- cgit v1.2.3