Skip to content

Commit

Permalink
update html templates
Browse files Browse the repository at this point in the history
  • Loading branch information
jtdub committed Dec 19, 2024
1 parent e5e78f5 commit 8119b47
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,7 @@
<span class="mdi mdi-plus-thick" aria-hidden="true"></span> Execute <span class="caret"></span>
</button>
<ul class="dropdown-menu">
{% if compliance %}
<li><a href="{% url 'extras:job_run_by_class_path' class_path='nautobot_golden_config.jobs.ComplianceJob' %}">Compliance</a></li>
{% endif %}
</ul>
</div>
{% endblock %}
Original file line number Diff line number Diff line change
Expand Up @@ -37,18 +37,9 @@ <h1>{% block title %}Configuration Overview{% endblock %}</h1>
<span class="mdi mdi-plus-thick" aria-hidden="true"></span> Execute <span class="caret"></span>
</button>
<ul class="dropdown-menu">
{% if compliance %}
<li><a href="{% url 'extras:job_run_by_class_path' class_path='nautobot_golden_config.jobs.ComplianceJob' %}">Compliance</a></li>
{% endif %}
{% if intended %}
<li><a href="{% url 'extras:job_run_by_class_path' class_path='nautobot_golden_config.jobs.IntendedJob' %}">Intended</a></li>
{% endif %}
{% if backup %}
<li><a href="{% url 'extras:job_run_by_class_path' class_path='nautobot_golden_config.jobs.BackupJob' %}">Backup</a></li>
{% endif %}
{% if not compliance and not intended and not backup %}
<li><a href="#" class="disabled">Features are not enabled.</a></li>
{% endif %}
</ul>
</div>
{% endblock %}
Expand Down

0 comments on commit 8119b47

Please sign in to comment.