From 5320ac42b482918a4a3e9e120d6ef45f735884ed Mon Sep 17 00:00:00 2001 From: Dave MacFarlane Date: Tue, 17 May 2022 15:14:30 -0400 Subject: [PATCH] [timepoint_list] Update error message when no access to timepoints (#8095) This updates the error message when attempting to access a candidate for which the user doesn't have permission to access any timepoints. The previous message claimed that there was no timepoints registered, which was not the case if the list is empty for permission related reasons. --- modules/timepoint_list/templates/menu_timepoint_list.tpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/timepoint_list/templates/menu_timepoint_list.tpl b/modules/timepoint_list/templates/menu_timepoint_list.tpl index dad7343756f..7fbf290532e 100644 --- a/modules/timepoint_list/templates/menu_timepoint_list.tpl +++ b/modules/timepoint_list/templates/menu_timepoint_list.tpl @@ -155,7 +155,7 @@ {sectionelse} - No timepoints have been registered yet. + You do not have access to any timepoints registered for this candidate. {/section}