소스 검색

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 %}