From 34a70b6a921a468a84953f3aebf2c35974e1667c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lucas=20Manuel=20Herencia=20Sol=C3=ADs?= Date: Wed, 11 Dec 2024 17:05:56 +0100 Subject: [PATCH] fix: change dataset.get_uvlhub_doi() by url_for('dataset.subdomain_index', doi=dataset.ds_meta_data.dataset_doi) }} --- app/modules/dataset/templates/dataset/list_datasets.html | 6 +++--- app/modules/profile/templates/profile/summary.html | 2 +- app/modules/public/templates/public/index.html | 6 +++--- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/app/modules/dataset/templates/dataset/list_datasets.html b/app/modules/dataset/templates/dataset/list_datasets.html index 0e17349e5..5c91a2749 100644 --- a/app/modules/dataset/templates/dataset/list_datasets.html +++ b/app/modules/dataset/templates/dataset/list_datasets.html @@ -25,16 +25,16 @@

My datasets

{% for dataset in datasets %} - + {{ dataset.ds_meta_data.title }} {{ dataset.ds_meta_data.description }} {{ dataset.ds_meta_data.publication_type.name.replace('_', ' ').title() }} - {{ dataset.get_uvlhub_doi() }} - + diff --git a/app/modules/profile/templates/profile/summary.html b/app/modules/profile/templates/profile/summary.html index 3e32f4b3f..b4468dc0f 100644 --- a/app/modules/profile/templates/profile/summary.html +++ b/app/modules/profile/templates/profile/summary.html @@ -51,7 +51,7 @@

User datasets

{% if dataset.ds_meta_data.dataset_doi %} -
+ {{ dataset.ds_meta_data.title }} {% else %} diff --git a/app/modules/public/templates/public/index.html b/app/modules/public/templates/public/index.html index 177d154f8..03af20a5c 100644 --- a/app/modules/public/templates/public/index.html +++ b/app/modules/public/templates/public/index.html @@ -19,7 +19,7 @@

- + {{ dataset.ds_meta_data.title }} @@ -60,7 +60,7 @@

- {{ dataset.get_uvlhub_doi() }} + {{ dataset.get_uvlhub_doi() }} @@ -86,7 +86,7 @@