Ver código fonte

Branded the browsable API template

Jeremy Stretch 8 anos atrás
pai
commit
b301b8f6f2
1 arquivos alterados com 5 adições e 0 exclusões
  1. 5 0
      netbox/templates/rest_framework/api.html

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

@@ -0,0 +1,5 @@
+{% extends 'rest_framework/base.html' %}
+
+{% block branding %}
+    <a class="navbar-brand" href="/{{ settings.BASE_PATH }}">NetBox</a>
+{% endblock %}