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

@@ -1,3 +1,9 @@
2.004004 -
[ENHANCEMENTS]
* Do not include inventory items which don't have full OS details
2.004002 - 2013-01-30 2.004002 - 2013-01-30
[BUG FIXES] [BUG FIXES]

View File

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