{% extends "base.html" %}
{% load i18n %}
{% load static %}
{% load permissions %}
{% block title %}
{% trans 'Enhydris - Instrument' %} -
{% if instrument %}
{{ instrument.name }} - {{ instrument.type }},
{% trans 'Station:' %} {{ instrument.station }}
{% endif %}
{% endblock %}
{% block extrajs %}
{% endblock %}
{% block content %}
{% if instrument %}
{% trans 'ID' %} |
{{ instrument.id }} |
{% trans 'Related Station' %} |
{{ instrument.station }} |
{% trans 'Name' %} |
{{ instrument.name }} |
{% trans 'Type' %} |
{{ instrument.type }} |
{% trans 'Remarks' %} |
{{ instrument.remarks }} |
{% trans 'Manufacturer' %} |
{{ instrument.manufacturer }} |
{% trans 'Model' %} |
{{ instrument.model }} |
{% trans 'Start Date' %} |
{{ instrument.start_date|date:"Y/m/d" }} |
{% trans 'End Date' %} |
{{ instrument.end_date|date:"Y/m/d" }} |
{% trans 'Timeseries' %} |
{% if timeseries.count %}
{% trans "ID" %} |
{% trans "Name" %} |
{% trans "Variable" %} |
{% trans "Time step" %} |
{% trans "Unit Of Measurement" %} |
{% trans "Remarks" %} |
{% trans "Instrument" %} |
{% trans "Start Date" %} |
{% trans "End Date" %} |
{% if request.user|can_edit:station %}
{% trans "Management" %} |
{% endif %}
{% for t in timeseries %}
{% if not t.hidden %}
{% with t.id as t_id %}
{% url "timeseries_detail" t_id as timeseries_url %}
{{ 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" }} |
{% if request.user|can_edit:station %}
|
{% endif %}
{% endwith %}
{% endif %}
{% endfor %}
|
{% endif %}
{% endif %}
{% endblock %}