Device operating system added to inventory links and search sidebar

This commit is contained in:
Oliver Gorwits
2015-02-22 09:32:24 +00:00
parent 84d89fd311
commit 31b024eef3
6 changed files with 31 additions and 4 deletions

View File

@@ -49,7 +49,13 @@
[% FOREACH release IN releases.all %]
[% NEXT UNLESS (release.os OR release.os_ver) %]
<tr>
<th>[% release.os || 'unknown' | html_entity %]</th>
<th>
[% IF release.os %]
<a class="nd_linkcell"
href="[% search_device %]&q=[% release.os | uri %]&os=[% release.os | uri %]">
[% release.os | html_entity %]</a>
[% ELSE %]unknown[% END %]
</th>
<th>
[% IF release.os_ver %]
<a class="nd_linkcell"