mirror of
https://github.com/netbox-community/netbox.git
synced 2025-07-29 20:06:25 -06:00
Translate badge text and simplify implementation
This commit is contained in:
parent
98c2b2f504
commit
ea34d7bce8
@ -130,7 +130,7 @@ Context:
|
||||
{% if field.required %}
|
||||
{% checkmark True true="Required" %}
|
||||
{% elif field.conditional %}
|
||||
{% tag "Conditional" %}
|
||||
<span class="badge bg-yellow text-yellow-fg" >{% trans "Conditional" %}</span>
|
||||
{% else %}
|
||||
{{ ''|placeholder }}
|
||||
{% endif %}
|
||||
|
Loading…
Reference in New Issue
Block a user