Skip to content

Commit

Permalink
[timepoint_list] Update error message when no access to timepoints (#…
Browse files Browse the repository at this point in the history
…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.
  • Loading branch information
driusan committed May 17, 2022
1 parent 8bf4632 commit 5320ac4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/timepoint_list/templates/menu_timepoint_list.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@
</td>
</tr>
{sectionelse}
<tr><td colspan="10">No timepoints have been registered yet.</td></tr>
<tr><td colspan="10">You do not have access to any timepoints registered for this candidate.</td></tr>
{/section}
</tbody>
</table>

0 comments on commit 5320ac4

Please # to comment.