master
fefa4ka 10 years ago
parent 594bcffd70
commit 06afa8258e
  1. 2
      zsite/static/less/header.less
  2. 10
      zsite/templates/base.html

@ -18,7 +18,7 @@
border: 0 !important;
}
.slogan {
h2 {
position: absolute;
top: 58px;
left: 176px;

@ -28,7 +28,15 @@
<a href="/{{request.LANGUAGE_CODE}}/">
<img src="{% with 'imgs/logo_'|add:request.LANGUAGE_CODE|add:'.svg' as image_static %}{% static image_static %}{% endwith %}">
</a>
<h2 class="slogan">{% trans 'Intellectual Property Protection' %}</h2>
{% if request.current_page.parent %}
{% static_placeholder 'header-slogan-main-'|add:request.current_page.parent.reverse_id %}
{% elif request.current_page.reverse_id %}
{% static_placeholder 'header-slogan-main-'|add:request.current_page.reverse_id %}
{% else %}
<h2>{% trans 'Intellectual Property Protection' %}</h2>
{% endif %}
</div>
<div class="header-content">
{% if request.current_page.parent %}

Loading…
Cancel
Save