Do not include inventory items which dont have full OS details

This commit is contained in:
Oliver Gorwits
2013-02-02 19:18:05 +00:00
parent 1e1b1f8f5d
commit 41c73f8974
2 changed files with 9 additions and 1 deletions

View File

@@ -13,9 +13,10 @@
</thead>
<tbody>
[% FOREACH platform IN models.all %]
[% NEXT UNLESS platform.vendor AND platform.model %]
<tr>
<th>
<a class="nd_stealthlink"
<a class="nd_linkcell"
href="[% vars.search_device %]&vendor=[% platform.vendor %]">
[% platform.vendor %]</a>
</th>
@@ -42,6 +43,7 @@
</thead>
<tbody>
[% FOREACH release IN releases.all %]
[% NEXT UNLESS (release.os AND release.os_ver) %]
<tr>
<th>[% release.os %]</th>
<th>