diff --git a/app/views/my_modules/_module_header_details_popover.html.erb b/app/views/my_modules/_module_header_details_popover.html.erb index ec48d2bb6..20fa78bc7 100644 --- a/app/views/my_modules/_module_header_details_popover.html.erb +++ b/app/views/my_modules/_module_header_details_popover.html.erb @@ -47,4 +47,13 @@ <% end %> +
+
+ <%= link_to t('my_modules.details.info_popover.view_task_access'), + can_manage_my_module_users?(@my_module) ? + edit_access_permissions_project_experiment_my_module_path(@my_module.experiment.project, @my_module.experiment, @my_module) : + access_permissions_project_experiment_my_module_path(@my_module.experiment.project, @my_module.experiment, @my_module), + data: { action: 'remote-modal'} %> +
+
diff --git a/config/locales/en.yml b/config/locales/en.yml index 633ca3d56..efc362345 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -790,6 +790,7 @@ en: modified_label: "Modified" modified_value: "%{date} by %{full_name}" modified_value_without_user: "%{date}" + view_task_access: "View task access" start_date: "Start date:" no_start_date_placeholder: "+ Add starting date" due_date: "Due date:"