From fe2536eba16b3b1673593e52da9c9352da9f3ae0 Mon Sep 17 00:00:00 2001 From: Adrienne Stilp Date: Tue, 12 Nov 2024 13:36:21 -0800 Subject: [PATCH] Add custom text to exchange workspace template --- gregor_django/gregor_anvil/adapters.py | 1 + .../gregor_anvil/exchangeworkspace_list.html | 38 +++++++++++++++++++ 2 files changed, 39 insertions(+) create mode 100644 gregor_django/templates/gregor_anvil/exchangeworkspace_list.html diff --git a/gregor_django/gregor_anvil/adapters.py b/gregor_django/gregor_anvil/adapters.py index 0f1fa645..f0192b27 100644 --- a/gregor_django/gregor_anvil/adapters.py +++ b/gregor_django/gregor_anvil/adapters.py @@ -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" diff --git a/gregor_django/templates/gregor_anvil/exchangeworkspace_list.html b/gregor_django/templates/gregor_anvil/exchangeworkspace_list.html new file mode 100644 index 00000000..5baa5ea5 --- /dev/null +++ b/gregor_django/templates/gregor_anvil/exchangeworkspace_list.html @@ -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 %} + +
+
+ +

{{workspace_type_display_name}}s

+ +
+

+ 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. +

+

+ Learn more about Accessing Consortium Data. +

+ +
+ +
+ {% crispy filter.form %} +
+ + {% render_table table %} + +
+
+ + + +{% endblock content %}