Skip to content

Commit 4780c9c

Browse files
committed
add cicd link to navbar
1 parent f7cad8e commit 4780c9c

2 files changed

Lines changed: 10 additions & 0 deletions

File tree

dojo/templates/base.html

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -380,6 +380,9 @@
380380
{% if "dojo.view_tool_type"|has_configuration_permission:request %}
381381
<a href="{% url 'tool_type' %}" class="block py-1.5 pl-12 pr-4 text-sm text-gray-400 hover:text-white hover:bg-white/10">{% trans "Tool Type" %}</a>
382382
{% endif %}
383+
{% if "dojo.view_cicdinfrastructure"|has_configuration_permission:request %}
384+
<a href="{% url 'cicd_infrastructure' %}" class="block py-1.5 pl-12 pr-4 text-sm text-gray-400 hover:text-white hover:bg-white/10">{% trans "CI/CD Infrastructure" %}</a>
385+
{% endif %}
383386
</div>
384387
</div>
385388

dojo/templates_classic/base.html

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -613,6 +613,13 @@
613613
</a>
614614
</li>
615615
{% endif %}
616+
{% if "dojo.view_cicdinfrastructure"|has_configuration_permission:request %}
617+
<li>
618+
<a href="{% url 'cicd_infrastructure' %}">
619+
{% trans "CI/CD Infrastructure" %}
620+
</a>
621+
</li>
622+
{% endif %}
616623
</ul>
617624
</li>
618625
{% endblock %}

0 commit comments

Comments
 (0)