Преглед изворни кода

Update REST API web UI title

jeremystretch пре 4 година
родитељ
комит
d082442851
1 измењених фајлова са 2 додато и 0 уклоњено
  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 %}