mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-11-12 20:24:43 +08:00
10 lines
No EOL
282 B
Text
10 lines
No EOL
282 B
Text
<% query ||= nil %>
|
|
<% text = query.present? ? highlight(report.name, query.strip.split(/\s+/)) : report.name %>
|
|
|
|
<% if can_view_reports(report.project) %>
|
|
<a href="<%= edit_project_report_path(report.project, report) %>">
|
|
<%= text %>
|
|
</a>
|
|
<% else %>
|
|
<%= text %>
|
|
<% end %> |