Added link to task access to task screen [SCI-6157] (#3615)

This commit is contained in:
artoscinote 2021-10-28 10:45:34 +02:00 committed by GitHub
parent 9e3d64bbb6
commit 98be1ae0ff
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 10 additions and 0 deletions

View file

@ -47,4 +47,13 @@
<% end %>
</div>
</div>
<div class="row row-v-margin">
<div class="col-xs-12">
<%= 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'} %>
</div>
</div>
</div>

View file

@ -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:"