mirror of
https://github.com/netbox-community/netbox.git
synced 2026-01-23 12:08:43 -06:00
Split ObjectPanel into a base class and ObjectAttrsPanel; use base class for e.g. CommentsPanels, JSONPanel, etc.
This commit is contained in:
@@ -3,8 +3,8 @@
|
||||
|
||||
{% block panel_content %}
|
||||
<div class="card-body">
|
||||
{% if object.comments %}
|
||||
{{ object.comments|markdown }}
|
||||
{% if comments %}
|
||||
{{ comments|markdown }}
|
||||
{% else %}
|
||||
<span class="text-muted">{% trans "None" %}</span>
|
||||
{% endif %}
|
||||
|
||||
Reference in New Issue
Block a user