{% extends "base.html" %} {% load i18n %} {% load static %} {% block extracss %} {% endblock %} {% block extrajs %} {% endblock %} {% block content %}

{% trans "User profile for" %} {{ object }}:

{% if object.email_is_public %} {% endif %}
{% trans "Username" %} {{object.user}}
{% trans "Name" %} {{object.full_name}}
{% trans "Email" %} {{object.email}}
{% trans "Address" %} {{object.address}}
{% trans "Organization" %} {{object.organization}}

Profile Management:

{% if user.is_staff %} {% endif %}
{% if user.is_superuser %}

{% trans "As a superuser, you can edit all the stations. To find the station you are looking for, go to the" %} {% trans "station list." %}

{% else %} {% if user.created_stations.all %}

{% trans "You have created the following stations: " %}

{% for station in user.created_stations.all %} {% url "station_detail" station_id as station_url %} {%endfor%}
{% trans "Station ID" %} {% trans "Station Name" %} {% trans "Water Basin" %} {% trans "Water Division" %} {% trans "Political Division" %} {% trans "Type" %}
{{ station.id }} {{ station.name }} {{ station.water_basin }} {{ station.water_division }} {{ station.political_division.name }} {% for stype in station.stype.all %}{{ stype.descr }}{% if not forloop.last %}, {% endif %}{% endfor %}
{% else %}

* {% trans "It seems that you haven't created any stations yet." %}

{% endif %} {% if user.maintaining_stations.all %}

{% trans "You have permission to edit the following stations: " %}

{% for station in user.maintaining_stations.all %} {% url "station_detail" station_id as station_url %} {%endfor%}
{% trans "Station ID" %} {% trans "Station Name" %} {% trans "Water Basin" %} {% trans "Water Division" %} {% trans "Political Division" %} {% trans "Type" %}
{{ station.id }} {{ station.name }} {{ station.water_basin }} {{ station.water_division }} {{ station.political_division.name }} {% for stype in station.stype.all %}{{ stype.descr }}{% if not forloop.last %}, {% endif %}{% endfor %}
{% else %}

* {% trans "It seems that you don't have permission to edit any station." %}

{% endif %}

{% trans "Management Actions:" %}

{% if perms.hcore.add_station %}

Add Another {% trans "Add a new station " %}

{% endif %} {% if perms.hcore.add_instrument %}

Add Another {% trans "Add a new instrument" %}

{% endif %} {% if perms.hcore.add_timeseries %}

Add Another {% trans "Add a new timeseries" %}

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