From 402205d2b28d25dc95d43e466c42f3e4bdf49845 Mon Sep 17 00:00:00 2001 From: Nico-AP Date: Fri, 29 Nov 2024 17:42:08 +0100 Subject: [PATCH] ui/ux: Update verbose name of DonationProject.redirect_target to 'redirect address' and update corresponding documentation. --- ddm/projects/models.py | 6 +++--- .../modules/researchers/pages/general_project_settings.adoc | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/ddm/projects/models.py b/ddm/projects/models.py index 25bf9a8..64dd79a 100644 --- a/ddm/projects/models.py +++ b/ddm/projects/models.py @@ -134,11 +134,11 @@ class DonationProject(models.Model): redirect_target = models.CharField( max_length=2000, blank=True, - verbose_name='Redirect target', + verbose_name='Redirect address', help_text=mark_safe( - 'Always include http:// or https:// in the redirect target. ' + 'Always include http:// or https:// in the redirect address. ' 'If URL parameter extraction is enabled for this project, you can ' - 'include the extracted URL parameters in the redirect target as follows: ' + 'include the extracted URL parameters in the redirect address as follows: ' '"https://redirect.me/?redirectpara={{participant.data.url_param.URLParameter}}".') ) diff --git a/docs/modules/researchers/pages/general_project_settings.adoc b/docs/modules/researchers/pages/general_project_settings.adoc index c58a03d..a9c09d6 100644 --- a/docs/modules/researchers/pages/general_project_settings.adoc +++ b/docs/modules/researchers/pages/general_project_settings.adoc @@ -83,7 +83,7 @@ This can be configured using the following settings: Redirect enabled:: Enable or disable the redirection of your participants when they have completed your project. If enabled, a redirect button will be displayed on the data donation end page that redirects to the URL defined in the `Redirect target` setting. -Redirect target:: URL to which participants will redirected (only required if `redirect` is enabled). +Redirect address:: The URL to which participants will be redirected (only required if `redirect` is enabled). [TIP] ====