mirror of
https://github.com/netbox-community/netbox.git
synced 2026-01-05 11:46:50 -06:00
Added description to ConfigContext
This commit is contained in:
@@ -7,7 +7,13 @@
|
||||
<div class="panel-body">
|
||||
{% render_field form.name %}
|
||||
{% render_field form.weight %}
|
||||
{% render_field form.description %}
|
||||
{% render_field form.is_active %}
|
||||
</div>
|
||||
</div>
|
||||
<div class="panel panel-default">
|
||||
<div class="panel-heading"><strong>Assignment</strong></div>
|
||||
<div class="panel-body">
|
||||
{% render_field form.regions %}
|
||||
{% render_field form.sites %}
|
||||
{% render_field form.roles %}
|
||||
|
||||
@@ -26,6 +26,9 @@
|
||||
<span class="text-muted">{{ context.weight }}</span>
|
||||
</div>
|
||||
<a href="{{ context.get_absolute_url }}"><strong>{{ context.name }}</strong></a>
|
||||
{% if context.description %}
|
||||
<br /><small>{{ context.description }}</small>
|
||||
{% endif %}
|
||||
<pre>{{ context.data|render_json }}</pre>
|
||||
</div>
|
||||
{% endfor %}
|
||||
|
||||
Reference in New Issue
Block a user