mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-11-16 14:17:00 +08:00
10 lines
349 B
Text
10 lines
349 B
Text
<% query ||= nil %>
|
|
<% text = query.present? ? highlight(report.name, query.strip.split(/\s+/)) : report.name %>
|
|
|
|
<% if can_read_project?(report.project) %>
|
|
<%= route_to_other_team edit_project_report_path(report.project, report),
|
|
report.project.team,
|
|
text %>
|
|
<% else %>
|
|
<%= text %>
|
|
<% end %>
|