Skip to content

Commit

Permalink
Add custom text to exchange workspace template
Browse files Browse the repository at this point in the history
  • Loading branch information
amstilp committed Nov 12, 2024
1 parent 38bfe8a commit fe2536e
Show file tree
Hide file tree
Showing 2 changed files with 39 additions and 0 deletions.
1 change: 1 addition & 0 deletions gregor_django/gregor_anvil/adapters.py
Original file line number Diff line number Diff line change
Expand Up @@ -250,3 +250,4 @@ class ExchangeWorkspaceAdapter(WorkspaceAdminSharingAdapterMixin, BaseWorkspaceA
workspace_data_form_class = forms.ExchangeWorkspaceForm
workspace_form_class = WorkspaceForm
workspace_detail_template_name = "gregor_anvil/exchangeworkspace_detail.html"
workspace_list_template_name = "gregor_anvil/exchangeworkspace_list.html"
38 changes: 38 additions & 0 deletions gregor_django/templates/gregor_anvil/exchangeworkspace_list.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
{% extends "anvil_consortium_manager/base.html" %}
{% load static %}

{% load render_table from django_tables2 %}
{% load crispy_forms_tags %}

{% block title %}{{workspace_type_display_name}}s{% endblock %}

{% block content %}

<div class="row">
<div class="col-sm-12">

<h2>{{workspace_type_display_name}}s</h2>

<div>
<p>
This page lists workspaces that facilitate data exchange between the Data Coordinating Center and a Research Center (RC) independent of the upload cycle.
Each exchange workspace is only accessible to the RC's members who are approved by their PI approved for uploader and/or reader access.
</p>
<p>
Learn more about <a href="https://gregorconsortium.org/members/research-home/gregor-consortium-data#accessing-consortium-data">Accessing Consortium Data</a>.
</p>

</div>

<div class="container pt-3">
{% crispy filter.form %}
</div>

{% render_table table %}

</div>
</div>

</div>

{% endblock content %}

0 comments on commit fe2536e

Please sign in to comment.