{% extends "base.html" %} {% comment %} * Copyright (c) 2016 Idiap Research Institute, http://www.idiap.ch/ * Contact: beat.support@idiap.ch * * This file is part of the beat.web module of the BEAT platform. * * Commercial License Usage * Licensees holding valid commercial BEAT licenses may use this file in * accordance with the terms contained in a written agreement between you * and Idiap. For further information contact tto@idiap.ch * * Alternatively, this file may be used under the terms of the GNU Affero * Public License version 3 as published by the Free Software and appearing * in the file LICENSE.AGPL included in the packaging of this file. * The BEAT platform is distributed in the hope that it will be useful, but * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY * or FITNESS FOR A PARTICULAR PURPOSE. * * You should have received a copy of the GNU Affero Public License along * with the BEAT platform. If not, see http://www.gnu.org/licenses/. {% endcomment %} {% load fingerprint %} {% load database_tags %} {% load markup %} {% load gravatar %} {% block title %}{{ block.super }} - {{ database.fullname }}{% endblock %} {% block stylesheets %} {{ block.super }} {% endblock %} {% block content %}

{% database_actions database False %}
{% if database.short_description %}

{{ database.short_description }}

{% endif %}
{% if database.description %} {{ database.description|restructuredtext }} {% endif %}
{% for protocol in database.protocols.all %} {% with protocol.name as name %}
Search experiments
{% for set in protocol.sets.all %}

{{ set.name }}

{% for output in set.template.outputs.all %} {% endfor %}
Output name Data format
{{ output.name }}: {{ output.dataformat.fullname }} {% if output.dataformat.short_description %}({{ output.dataformat.short_description }}){% endif %}
{% endfor %}
{% endwith %} {% endfor %}
{% with database.get_sharing_display as p %}

{% if p == 'Private' %} {% elif p == 'Public' %} {% else %} {% endif %} This database is {{ p }}

Sharing for databases is controlled exclusively by platform administrators. Get in touch if you'd like to change access control for databases hosted on this platform.

{% if p == 'Shared' %} {% if database.shared_with.count %}

Users with access:

    {% for user in database.shared_with.all %}
  • {{ user.first_name }} {{ user.last_name }} ({{ user.username }})
  • {% endfor %}
{% endif %} {% if database.shared_with_team.count %}

Teams with access:

    {% for team in database.shared_with_team.all %}
  • {{ team.owner.username }} / {{ team.name }}
  • {% endfor %}
{% endif %} {% endif %} {% endwith %}
{% endblock %}