diff options
author | softwarefactory-project-zuul[bot] <33884098+softwarefactory-project-zuul[bot]@users.noreply.github.com> | 2021-02-19 21:30:01 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-02-19 21:30:01 +0100 |
commit | cc18cf650e72c03020aa4492b97b1fba76b0fe8e (patch) | |
tree | 595f9e6d485c67c636c522ede84410fdb670ae32 | |
parent | Merge pull request #9251 from Saurabh-Thakre/Saurabh-Thakre-patch-1 (diff) | |
parent | Fix the broken paths to the favicon and logo in the API browser (diff) | |
download | awx-cc18cf650e72c03020aa4492b97b1fba76b0fe8e.tar.xz awx-cc18cf650e72c03020aa4492b97b1fba76b0fe8e.zip |
Merge pull request #9369 from jbradberry/fix-broken-logos
Fix the broken paths to the favicon and logo in the API browser
Reviewed-by: Jake McDermott <yo@jakemcdermott.me>
https://github.com/jakemcdermott
-rw-r--r-- | awx/templates/error.html | 2 | ||||
-rw-r--r-- | awx/templates/rest_framework/api.html | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/awx/templates/error.html b/awx/templates/error.html index 81e54fe434..815235ebfc 100644 --- a/awx/templates/error.html +++ b/awx/templates/error.html @@ -18,7 +18,7 @@ div.response-info span.meta { <div class="container"> <div class="navbar-header"> <a class="navbar-brand" href="/"> - <img class="logo" src="{% static 'assets/logo-header.svg' %}"> + <img class="logo" src="{% static 'media/logo-header.svg' %}"> </a> <a class="navbar-title" href="{{ request.get_full_path }}"> <span> — {{name}}</span> diff --git a/awx/templates/rest_framework/api.html b/awx/templates/rest_framework/api.html index 64b1dfa0c2..5f0e9e1e15 100644 --- a/awx/templates/rest_framework/api.html +++ b/awx/templates/rest_framework/api.html @@ -9,7 +9,7 @@ {% endblock %} {% block style %} -<link href="{% static 'assets/favicon.ico' %}?v={{tower_version}}" rel="shortcut icon" /> +<link href="{% static 'favicon.ico' %}?v={{tower_version}}" rel="shortcut icon" /> {{ block.super }} {% endblock %} @@ -24,7 +24,7 @@ <span class="icon-bar"></span> </button> <a class="navbar-brand" href="{% url 'api:api_root_view' %}"> - <img class="logo" src="{% static 'assets/logo-header.svg' %}"> + <img class="logo" src="{% static 'media/logo-header.svg' %}"> <span>{% trans 'REST API' %}</span> </a> <a class="navbar-title" href="{{ request.get_full_path }}"> |