{% extends "base.html" %} {% load i18n %} {% load static %} {% load permissions %} {% block title %} {% trans 'Enhydris - Station' %} - {%if station %}{{ station.name }} {% endif %} {% endblock %} {% block extracss %} {% endblock %} {% block extrajs %} {% endblock %} {% block content %}

Station Details {% if request.user|can_edit:station %} edit {% if request.user|can_delete:station %} , delete {% endif %} {% endif %}

{% if request.user|can_edit:station %} {% endif %} {% if notifications %} {% endif %} {% if station %}
{% if station.point %}
{% endif %}
{% if enabled_user_content %} {% if station.creator %} {% else %} {% endif %} {% endif %}
{% trans 'ID' %} {{ station.id }}
{% trans 'Name' %} {{ station.name }}
{% trans 'Short Name' %} {{ station.short_name }}
{% trans 'Remarks' %} {{ station.remarks }}
{% trans 'Water Basin' %} {{ station.water_basin.name }}
{% trans 'Water Division' %} {{ station.water_division.name }}
{% trans 'Political Division' %} {{ station.political_division.name }}
{% trans 'Co-ordinates' %} {{ station.point.x | floatformat:5 }}, {{ station.point.y | floatformat:5 }} {% if station.approximate %} ({% trans 'approximate' %}) {% endif %} {% if station.srid != 4326 %}
({{ wgs84_name }}; {% trans "originally" %} {{ station.original_cs_name }} [srid={{ station.srid }}]: {{ station.original_abscissa }}, {{ station.original_ordinate }})
{% endif %}
{% trans 'Altitude' %} {{ station.altitude|floatformat:2 }} {% if station.asrid %}[srid={{ station.asrid }}]{% endif %}
{% trans 'Owner' %} {{ station.owner }}
{% trans 'Type' %} {% for stype in station.stype.all %}{{ stype.descr }}{% if not forloop.last %}, {% endif %}{% endfor %}
{% trans 'Is Active' %} {{ station.is_active }}
{% trans 'Is Automatic' %} {{ station.is_automatic }}
{% trans 'Start Date' %} {{ station.start_date|date:"Y/m/d" }}
{% trans 'End Date' %} {{ station.end_date|date:"Y/m/d" }}
{% trans 'Creator' %}{{ station.creator }}{% trans "Unknown" %}
{% trans 'Overseers' %} {% if station.overseers.count %} {% for overseer in station.overseer_set.all %} {% endfor %}
{{ overseer.person.first_name }} {{ overseer.person.last_name }} {% if request.user|can_edit:station %}  | delete {% endif %}
{% endif %}
{% if station.gentityaltcode_set.count %} {% else %} {% endif %} {% if station.gentityfile_set.count %} {% else %} {% endif %} {% if station.gentitygenericdata_set.count %} {% else %} {% endif %} {% if station.gentityevent_set.count %} {% else %} {% endif %} {% if station.instrument_set.count %} {% else %} {% endif %} {% if station.timeseries.count %} {% else %} {% endif %}
{% trans 'Station (Gentity) Alternative Codes' %} {% if request.user|can_edit:station %} {% endif %} {% for code in station.gentityaltcode_set.all %} {% if request.user|can_edit:station %} {% endif %} {% endfor %}
{% trans 'ID' %} {% trans 'Type' %} {% trans 'Value' %}{% trans "Management" %}
{% if station.gentityaltcode_set.count > 10 %}

More...

{% endif %}
{% trans "No data available" %}
{% trans 'Station (Gentity) Files' %} {% if request.user|can_edit:station %} {% endif %} {% for file in station.gentityfile_set.all %} {% if request.user|can_edit:station %} {% endif %} {% endfor %}
{% trans 'ID' %} {% trans 'Date' %} {% trans 'File Type' %} {% trans 'Content' %} {% trans 'Description' %} {% trans 'Remarks' %} {% trans 'Request File' %}{% trans "Management" %}
{% if station.gentityfile_set.count > 10 %}

More...

{% endif %}
{% trans "No data available" %}
{% trans 'Station (Gentity) Generic data' %} {% if request.user|can_edit:station %} {% endif %} {% for genericdata in station.gentitygenericdata_set.all %} {% if request.user|can_edit:station %} {% endif %} {% endfor %}
{% trans 'ID' %} {% trans 'Data Type' %} {% trans 'Description' %} {% trans 'Remarks' %} {% trans 'Request File' %}{% trans "Management" %}
{% if station.gentitygenericdata_set.count > 10 %}

More...

{% endif %}
{% trans "No data available" %}
{% trans 'Station (Gentity) Events' %} {% if request.user|can_edit:station %} {% endif %} {% for event in station.gentityevent_set.all %} {% if request.user|can_edit:station %} {% endif %} {% endfor %}
{% trans 'ID' %} {% trans 'Date' %} {% trans 'Type' %} {% trans 'User' %} {% trans 'Report' %}{% trans "Management" %}
{% if station.gentityevent_set.count > 10 %}

More...

{% endif %}
{% trans "No data available" %}
{% trans 'Instruments' %} {% if request.user|can_edit:station %} {% endif %} {% for instrument in station.instrument_set.all %} {% with instrument.id as instrument_id %} {% url "instrument_detail" instrument_id as instrument_url %} {% if request.user|can_edit:station %} {% endif %} {% endwith %} {% endfor %}
{% trans "ID" %} {% trans "Name" %} {% trans "Type" %} {% trans "Manufacturer" %} {% trans "Model" %} {% trans "Is Active" %} {% trans "Start Date" %} {% trans "End Date" %}{% trans "Management" %}
{% if station.instrument_set.count > 10 %}

More...

{% endif %}
{% trans "No data available" %}
{% trans 'Timeseries' %} {% if request.user|can_edit:station %} {% endif %} {% for t in station.timeseries.all %} {% if not t.hidden %} {% with t.id as t_id %} {% url "timeseries_detail" t_id as timeseries_url %} 10 %}class='timeseries_rows' style='display: none;'{% endif %}> {% if request.user|can_edit:station %} {% endif %} {% endwith %} {% endif %} {% endfor %}
{% trans "ID" %} {% trans "Name" %} {% trans "Variable" %} {% trans "Time step" %} {% trans "Unit Of Measurement" %} {% trans "Remarks" %} {% trans "Instrument" %} {% trans "Start Date" %} {% trans "End Date" %}{% trans "Management" %}
{{ t_id }} {{ t.name }} {{ t.variable }} {% if not t.time_step %} {% trans 'Variable step' %} {% else %} {{ t.time_step }} {% endif %} {{ t.unit_of_measurement }} {{ t.remarks }} {{ t.instrument }} {{ t.start_date|date:"Y/m/d H:i" }} {{ t.end_date|date:"Y/m/d H:i" }} edit  delete
{% if station.timeseries.count > 10 %}

More...

{% endif %}
{% trans "No data available" %}
{% if display_copyright %}

{% trans "Station " %}"{{station.name}}", {% trans "Copyright (c) " %}{{ station.copyright_years }}, {{ station.copyright_holder }}.

{% endif %} {% endif %} {% endblock %}