mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-11-08 07:21:03 +08:00
Update project link in template protocol linked experiments modal [SCI-8913] (#5837)
This commit is contained in:
parent
54877c2c1c
commit
e7ab30fbd5
1 changed files with 1 additions and 1 deletions
|
|
@ -60,7 +60,7 @@ class ProtocolLinkedChildrenDatatable < CustomDatatable
|
||||||
res += "<li><span class='sn-icon sn-icon-projects'></span> "
|
res += "<li><span class='sn-icon sn-icon-projects'></span> "
|
||||||
res += @controller.render_to_string(
|
res += @controller.render_to_string(
|
||||||
partial: 'search/results/partials/project_text',
|
partial: 'search/results/partials/project_text',
|
||||||
locals: { project: record.my_module.experiment.project },
|
locals: { project: record.my_module.experiment.project, link_to_page: :show },
|
||||||
formats: :html
|
formats: :html
|
||||||
)
|
)
|
||||||
res += '</li>'
|
res += '</li>'
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue