Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

Diff of /Netdisco/share/views/ajax/device/details.tt [38fe6b] .. [913a75] Maximize Restore

  Switch to side-by-side view

--- a/Netdisco/share/views/ajax/device/details.tt
+++ b/Netdisco/share/views/ajax/device/details.tt
@@ -64,6 +64,22 @@
       <td>Description</td>
       <td>[% d.description | html_entity | html_line_break %]</td>
     </tr>
+    [% IF settings._extra_device_details.size %]
+    <tr>
+        [% FOREACH config IN settings._extra_device_details %]
+        <td>
+            [% config.label %]
+        </td>
+        <td>
+            [% TRY %]
+            [% INCLUDE "plugin/${config.name}/device_details.tt" %]
+            [% CATCH %]
+            <!-- dummy content required by Template Toolkit TRY -->
+            [% END %]
+        </td>
+        [% END %]
+    </tr>
+    [% END %]
     <tr>
       <td>Uptime</td>
       <td>[% d.uptime_age | html_entity %]</td>