mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-09-20 23:16:15 +08:00
Added link to task access to task screen [SCI-6157] (#3615)
This commit is contained in:
parent
9e3d64bbb6
commit
98be1ae0ff
|
@ -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>
|
||||
|
|
|
@ -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:"
|
||||
|
|
Loading…
Reference in a new issue