1238: Вывести Н1 на подчиненных страницах

remotes/origin/top_year_choice
Alexander Burdeiny 10 years ago
parent 3d02d5118a
commit 2de0897242
  1. 5
      templates/client/exposition/members.html
  2. 6
      templates/client/exposition/photo.html
  3. 6
      templates/client/exposition/visitors.html
  4. 6
      templates/client/includes/exposition/price.html
  5. 4
      templates/client/includes/exposition/programm.html
  6. 4
      templates/client/includes/exposition/statistic.html

@ -14,6 +14,9 @@
{% block page_title %}
{% if meta.h1 %}
<h1>{{ meta.h1 }}</h1>
{% endif %}
{% endblock %}
{% block content_list %}
@ -22,4 +25,4 @@
{% block paginator %}
{% include 'includes/catalog_paginator.html' with page_obj=page_obj %}
{% endblock %}
{% endblock %}

@ -14,7 +14,9 @@
{% block page_title %}
{% if meta.h1 %}
<h1>{{ meta.h1 }}</h1>
{% endif %}
{% endblock %}
{% block content_list %}
@ -23,4 +25,4 @@
{% block paginator %}
{% include 'client/includes/catalog_paginator.html' with page_obj=page_obj %}
{% endblock %}
{% endblock %}

@ -14,9 +14,7 @@
{% block page_title %}
<div class="page-title">
<h1>{% if meta %}{{ meta.h1 }}{% else %}{% trans 'Посетители' %}{% endif %}</h1>
</div>
<h1>{% if meta.h1 %}{{ meta.h1 }}{% else %}{% trans 'Посетители' %}{% endif %}</h1>
{% endblock %}
{% block content_list %}
@ -25,4 +23,4 @@
{% block paginator %}
{% include 'includes/catalog_paginator.html' with page_obj=page_obj %}
{% endblock %}
{% endblock %}

@ -1,4 +1,4 @@
{% load i18n %}
f{% load i18n %}
{% load template_filters %}
<div class="m-article">
@ -35,6 +35,8 @@
<div class="i-info">
<header>
<h1 class="i-title">
{% if meta.h1 %}
{{ meta.h1 }}
{% if exposition.main_title %}
{{ exposition.main_title|safe }}
{% else %}
@ -264,4 +266,4 @@
{% endfor %}
{% endwith %}
</ul>
</div>
</div>

@ -39,7 +39,11 @@
<div class="i-info">
<header>
<h1 class="i-title">
{% if meta.h1 %}
{{ meta.h1 }}
{% else %}
{{ exposition.main_title|safe }}
{% endif %}
</h1>
</header>

@ -36,7 +36,9 @@
<div class="i-info">
<header>
<h1 class="i-title">
{% if exposition.main_title %}
{% if meta.h1 %}
{{ meta.h1 }}
{% elif exposition.main_title %}
{{ exposition.main_title|safe }}
{% else %}
{{ exposition.name|safe }}

Loading…
Cancel
Save