{% csrf_token %}
{% csrf_token %}
Account information {% if note_list or writable_scopes %} Notes {{ note_list|length }} {% endif %} {% if criuser == user or user.is_superuser or user in criuser.criserviceaccount.get_managers %} User preferences {% endif %} {% if criuser == user or perms.cri_models.update_criuser_passwords or user in criuser.criserviceaccount.get_managers %} Change password {% endif %} {% if criuser == user or perms.cri_models.manage_criuser_oidc %} OpenID Connect {% endif %} {% with count=criuser.sshpublickey_set.count %} SSH keys {{ count }} {% endwith %} {% if criuser == user or perms.cri_auth.view_connectionlogentry %} Connection logs {% endif %} {% if criuser == user or perms.cri_tasks.view_task %} Tasks {% endif %} {% if perms.cri_cards.issue_card and not criuser.criserviceaccount %} {% endif %} {% if criuser != user and perms.cri_models.impersonate and not criuser.is_superuser %} {% endif %} {% if user.is_staff and perms.cri_models.view_criuser %} {% if criuser.criserviceaccount %} {% else %} {% endif %} View on admin site {% endif %}