diff --git a/common/activities.py b/common/activities.py index d47dcbc6a..0146b40da 100644 --- a/common/activities.py +++ b/common/activities.py @@ -84,7 +84,7 @@ def activity_from_data_request_project(project, user=None): "label": project.id_label, "name": project.name, "url": "direct-sharing/images/badge.png", - "href": reverse("activity-management", kwargs={"source": project.slug}), + "href": reverse("activity", kwargs={"slug": project.slug}), }, "source_name": project.id_label, "project": project, diff --git a/common/tasks.py b/common/tasks.py index ba66e5f2f..563a74295 100644 --- a/common/tasks.py +++ b/common/tasks.py @@ -37,7 +37,7 @@ def send_emails(project_id, project_members, subject, message, all_members=False "project": project.name, "username": project_member.member.user.username, "activity_management_url": full_url( - reverse("activity-management", kwargs={"source": project.slug}) + reverse("activity", kwargs={"slug": project.slug}) ), "project_message_form": full_url( reverse("activity-messaging", kwargs={"source": project.slug}) diff --git a/data_import/templates/data_import/datatypes-detail.html b/data_import/templates/data_import/datatypes-detail.html index d7c8baf44..f27c97772 100644 --- a/data_import/templates/data_import/datatypes-detail.html +++ b/data_import/templates/data_import/datatypes-detail.html @@ -45,7 +45,7 @@
{{ project.long_description|markdown }}
+ +
{{ project.name }}
@@ -43,7 +43,7 @@
{{ project.name }}
diff --git a/open_humans/templates/pages/data-processing-activities.html b/open_humans/templates/pages/data-processing-activities.html
index 685dc85cd..cc4eccb08 100644
--- a/open_humans/templates/pages/data-processing-activities.html
+++ b/open_humans/templates/pages/data-processing-activities.html
@@ -116,7 +116,7 @@
Filename | +Description | +Download link | +Tags | +DataTypes | +
---|---|---|---|---|
{{ datafile.basename }} | ++ + {% if datafile.size %}({{ datafile.size|filesizeformat }}){% endif %} + {{ datafile.description }} + + | ++ + Download + | ++ {% for tag in datafile.tags %} + {{ tag }} + {% endfor %} + | ++ {% for datatype in datafile.datatypes.all %} + {{ datatype.name }}{% if not forloop.last %}, {% endif %} + {% endfor %} + | +
You have not joined {{ project.name }} yet.
++ You can use & share your data from {{ project.name }} with the + following other projects: +
+You can explore your data from {{ project.name }} with the + following personal + data notebooks. +
+
+ See review in our forum
+
Projects are community reviewed! Read more about contributing.
+