Support more than one plugin in the device details tab (B. Marshall)

This commit is contained in:
Oliver Gorwits
2016-02-02 08:58:05 +00:00
parent 3ac37e5e65
commit fad2137eb1
2 changed files with 13 additions and 12 deletions

View File

@@ -11,6 +11,7 @@
* Return from device discover if device is unknown * Return from device discover if device is unknown
* Safely continue macsuck if neighbor cannot be resolved * Safely continue macsuck if neighbor cannot be resolved
* [#261] String replace failed in reports (M. Kosmach) * [#261] String replace failed in reports (M. Kosmach)
* Support more than one plugin in the device details tab (B. Marshall)
2.033004 - 2015-11-16 2.033004 - 2015-11-16

View File

@@ -65,21 +65,21 @@
<td>[% d.description | html_entity | html_line_break %]</td> <td>[% d.description | html_entity | html_line_break %]</td>
</tr> </tr>
[% IF settings._extra_device_details.size %] [% IF settings._extra_device_details.size %]
[% FOREACH config IN settings._extra_device_details %]
<tr> <tr>
[% FOREACH config IN settings._extra_device_details %] <td>
<td> [% config.label %]
[% config.label %] </td>
</td> <td>
<td> [% TRY %]
[% TRY %] [% INCLUDE "plugin/${config.name}/device_details.tt" %]
[% INCLUDE "plugin/${config.name}/device_details.tt" %] [% CATCH %]
[% CATCH %] <!-- dummy content required by Template Toolkit TRY -->
<!-- dummy content required by Template Toolkit TRY --> [% END %]
[% END %] </td>
</td>
[% END %]
</tr> </tr>
[% END %] [% END %]
[% END %]
<tr> <tr>
<td>Administration</td> <td>Administration</td>
<td> <td>