Update navbar.html

This commit is contained in:
Arvind Tiwari 2018-03-17 13:12:26 +05:30 committed by GitHub
parent 944946e59e
commit c7ff4423db
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -11,7 +11,7 @@
<span class="icon-bar"></span> <span class="icon-bar"></span>
</button> </button>
{% url 'datacenterlight:index' as default_logo_url %} {% url 'datacenterlight:index' as default_logo_url %}
{% if instance.logo_dark or instance.logo_white %} {% if instance.logo_dark or instance.logo_light %}
<a href="{{ instance.logo_url|default:default_logo_url }}" id="logoBlack" class="navbar-brand topnav"><img src="{{ instance.get_logo_dark }}"></a> <a href="{{ instance.logo_url|default:default_logo_url }}" id="logoBlack" class="navbar-brand topnav"><img src="{{ instance.get_logo_dark }}"></a>
<a href="{{ instance.logo_url|default:default_logo_url }}" id="logoWhite" class="navbar-brand topnav"><img src="{{ instance.get_logo_light }}"></a> <a href="{{ instance.logo_url|default:default_logo_url }}" id="logoWhite" class="navbar-brand topnav"><img src="{{ instance.get_logo_light }}"></a>
{% else %} {% else %}
@ -67,4 +67,4 @@
{% endcomment %} {% endcomment %}
</ul> </ul>
</div> </div>
</nav> </nav>