mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-09-24 08:56:17 +08:00
10 lines
263 B
Plaintext
10 lines
263 B
Plaintext
<% query ||= nil %>
|
|
<% text = query.present? ? highlight(report.name, query) : report.name %>
|
|
|
|
<% if can_view_reports(report.project) %>
|
|
<a href="<%= edit_project_report_path(report.project, report) %>">
|
|
<%= text %>
|
|
</a>
|
|
<% else %>
|
|
<%= text %>
|
|
<% end %> |