Pārlūkot izejas kodu

Update REST API web UI title

jeremystretch 4 gadi atpakaļ
vecāks
revīzija
d082442851
1 mainītis faili ar 2 papildinājumiem un 0 dzēšanām
  1. 2 0
      netbox/templates/rest_framework/api.html

+ 2 - 0
netbox/templates/rest_framework/api.html

@@ -6,6 +6,8 @@
   <link rel="icon" type="image/png" href="{% static 'rest-api.ico' %}" />
 {% endblock head %}
 
+{% block title %}{% if name %}{{ name }} | {% endif %}NetBox REST API{% endblock %}
+
 {% block branding %}
   <a class="navbar-brand" href="/{{ settings.BASE_PATH }}">NetBox</a>
 {% endblock branding %}