Ver código fonte

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 6 anos atrás
pai
commit
b28729baff
1 arquivos alterados com 2 adições e 0 exclusões
  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>