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