#681 Add href link to a device in a report

This commit is contained in:
Oliver Gorwits
2019-12-21 23:08:02 +00:00
parent 4030000b34
commit 4268fff785
2 changed files with 27 additions and 6 deletions

View File

@@ -10,7 +10,13 @@
[% FOREACH row IN results %]
<tr>
[% FOREACH col IN columns %]
[% IF column_options.$col._searchable %]
<td>
<a href="[% uri_for('/search') | none %]?q=[% row.item(col) | uri %]">[% row.item(col) | html_entity %]</a>
</td>
[% ELSE %]
<td>[% row.item(col) | html_entity %]</td>
[% END %]
[% END %]
</tr>
[% END %]