فهرست منبع

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