mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-11-12 12:16:06 +08:00
10 lines
263 B
Text
10 lines
263 B
Text
|
<% 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 %>
|