Commit 4ee024bf authored by Fabrice PEIX's avatar Fabrice PEIX
Browse files

Bug fix in managing empty contact and owner_website

parent c837c71a
......@@ -26,10 +26,14 @@ station:
% for station in stations
-
definition: [ "{{station.iris_code()}}", "{{station.install_date() | dbirddate}}", "{{station.close_date() | dbirddate}}", [{{station.latitude()}}, {{station.latitude_min_err() | optional_value("null")}},{{station.latitude_plus_err() | optional_value("null")}}], [{{station.longitude()}}, {{station.longitude_min_err() | optional_value("null")}},{{station.longitude_plus_err() | optional_value("null")}}], [{{station.altitude() * station.altitude_unit().mksa()}}, {{station.altitude_min_err() | optional_value("null")}},{{station.altitude_plus_err() | optional_value("null")}}], "{{station.toponyme()}}" ]
% if station.observatory().network_contact() is not none
contact: "{{station.observatory().network_contact()}}"
% endif
owner: "{{station.observatory().description()}}"
% if station.observatory().url() is not none
owner_website: "{{station.observatory().url()}}"
% endif
% if station.comment() is not empty or station.selected_channel_comment() is not empty
comment:
% for comment in station.comment()
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment