{% extends base_template %} {% load django_bootstrap5 %} {% load i18n %} {% block content %}

{% trans "Profile page for" %} {{user.username}} {% trans "on the Hydro-Apps" %}

{% if not user.wdb_is_db_user %} {% endif %} {% if messages %} {% for message in messages %} {% endfor %} {% endif %}
{% csrf_token %} {% bootstrap_field form.email show_label='skip' addon_before='E-Mail' addon_after_class=None addon_after='
'%}
{% trans "Password" %} {% trans "Change Password" %}
{% trans "Username" as un %} {% bootstrap_field form.username show_label='skip' addon_before=un addon_after_class=None addon_after='
' %} {% trans "First Name" as fn %} {% bootstrap_field form.first_name show_label='skip' addon_before=fn %} {% trans "Last Name" as ln %} {% bootstrap_field form.last_name show_label='skip' addon_before=ln %}
{% trans "personal introduction" %} {{ form.personal_introduction }} {% if not form.personal_introduction.errors %} {% endif %}
{% trans "This information will get used to decide whether you are granted access to some ressources like e.g. the WeatherDB database. The information will only be visible to you and the admin of this site.
E.g. I am working at the Uni Freiburg Hydrology department or I am student at the hydrology in Freiburg..." %}
{% if active_app == "weatherdb" %}
{% trans "WeatherDB" %}
{% trans "specific profile settings for the active app" %}
{% if user.wdb_is_db_user %} {% bootstrap_field form.db_password show_label='skip' addon_before='API Password' addon_after_class=None addon_after='
' %} {% else %}
{% trans "Database access" %} {% trans "request access" %}
{% endif %} {% trans "maximal Download" as md %} {% bootstrap_field form.wdb_max_downloads show_label='skip' addon_before=md addon_after_class=None addon_after='' %}
{% endif %}
{% endblock %} {% block scripts %} {% endblock %}