{% extends "base.html" %} {% load url %} {% load user_profile_link from profiles %} {% load guardian_tags %} {% block title %}{{ object.slug }} - {{ block.super }}{% endblock %} {% block breadcrumbs %} {% endblock %} {% block content %} {% get_obj_perms request.user for object as "workstation_perms" %}

{{ object.title }}

{{ object.description }}

{% if "change_workstation" in workstation_perms %}

Edit this viewer

Users

Editors

The following users are able to edit and use this viewer:

{% url 'workstations:editors-update' slug=object.slug as edit_url %} {% include "groups/partials/user_list.html" with edit_url=edit_url form=editor_remove_form users=object.editors_group.user_set.all %}

Add an editor for this viewer

{% if object.public %}
This is a public viewer, all logged-in users are able to use it!
{% else %}

Viewer Users Group

The following users are able to use this viewer:

{% url 'workstations:users-update' slug=object.slug as edit_url %} {% include "groups/partials/user_list.html" with edit_url=edit_url form=user_remove_form users=object.users_group.user_set.all %}

Add a user for this viewer

Reader Study Groups

The following reader studies are using this viewer, which allows their readers to use this viewer.

{% for rs in object.readerstudy_set.all %}
{{ rs }}
{% empty %} {% endfor %}

Algorithm Groups

The following algorithms are using this viewer, which allows their users to use this viewer.

{% for alg in object.algorithm_set.all %}
{{ alg }} Editors
{{ alg }} Users
{% empty %} {% endfor %} {% endif %}

Container Images

Upload a new container image for this viewer

{% endif %} {% if object.workstationimage_set.count != 0 and "view_workstation" in workstation_perms %}

Sessions

Start a new session Start a new debug session {% endif %} {% endblock %}