Skip to content

Commit

Permalink
Merge pull request #24 from SADiLaR/feature/logo_directs_to_homepage
Browse files Browse the repository at this point in the history
Make click on logo direct to home page
  • Loading branch information
OnaMosimege authored Apr 19, 2024
2 parents d205ee2 + 85a2fa2 commit 780a388
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 3 additions & 1 deletion app/templates/admin/base_site.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,9 @@

{% block branding %}
<h1 class="header-title">
<img src="{% static 'img/sadilar.png' %}" class="main-logo" alt="SADiLaR">
<a href="{% url 'admin:index' %}">
<img src="{% static 'img/sadilar.png' %}" class="main-logo" alt="SADiLaR">
</a>
</h1>
{% if user.is_anonymous %}
{% include "admin/color_theme_toggle.html" %}
Expand Down
4 changes: 3 additions & 1 deletion app/templates/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,9 @@
<header>
<div class="header-container">
<div class="nav-logo">
<img src=" {% static 'img/sadilar.png' %}" class="main-logo" alt="SADiLaR">
<a href="{% url 'home' %}">
<img src=" {% static 'img/sadilar.png' %}" class="main-logo" alt="SADiLaR">
</a>
</div>
<div class="nav-menu">
<ul class="nav nav-pills">
Expand Down

0 comments on commit 780a388

Please sign in to comment.