{# Copyright 2020 Karlsruhe Institute of Technology # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. #} {% extends "accounts/view_user_base.html" %} {% block content %}
{% include "accounts/snippets/view_user_menu.html" %}
{% if user.image_name %} {% endif %} {% if user.state == "inactive" %}
{% trans %}Inactive{% endtrans %}

{% endif %}

{{ user.identity.displayname }}

@{{ user.identity.username }} ({{ user.identity.Meta.identity_type["name"] }} account)
{% trans %}Persistent ID{% endtrans %}: {{ user.id }}

{% if current_user == user or not user.email_is_private %}

{% if user.email_is_private %} {% endif %} {{ user.identity.email }} {% if user.email_confirmed %} {% trans %}Confirmed{% endtrans %} {% endif %}

{% endif %}
{% if user.about %} {% else %}

{% trans %}No information provided.{% endtrans %}

{% endif %}

{% if current_user.id == user.id %} {% endif %} {% if current_user.id == user.id %}
{% else %}
{% endif %} {% trans %}Member since{% endtrans %} ()
{% if user.identities.count() > 1 %}
{% trans %}Also known as:{% endtrans %} {% for identity in user.identities %} {% if identity != user.identity %}
{{ identity.displayname }} @{{ identity.username }} ({{ identity.Meta.identity_type["name"] }} account) {% endif %} {% endfor %} {% endif %}
{% endblock %}