Explorar o código

Fix rendering for powerfeeds_list to show any added custom fields or tags on object

Signed-off-by: Josh Niec <ironick09@gmail.com>
Josh Niec %!s(int64=6) %!d(string=hai) anos
pai
achega
b28729baff
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  1. 2 0
      netbox/templates/dcim/powerfeed.html

+ 2 - 0
netbox/templates/dcim/powerfeed.html

@@ -121,6 +121,8 @@
                 </tr>
             </table>
         </div>
+        {% include 'inc/custom_fields_panel.html' with obj=powerfeed %}
+        {% include 'extras/inc/tags_panel.html' with tags=powerfeed.tags.all url='dcim:powerfeed_list' %}
         <div class="panel panel-default">
             <div class="panel-heading">
                 <strong>Comments</strong>