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

remotes/origin/top_year_choice
Alexander Burdeiny 10 years ago
parent 3d02d5118a
commit 2de0897242
  1. 3
      templates/client/exposition/members.html
  2. 4
      templates/client/exposition/photo.html
  3. 4
      templates/client/exposition/visitors.html
  4. 4
      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 %} {% block page_title %}
{% if meta.h1 %}
<h1>{{ meta.h1 }}</h1>
{% endif %}
{% endblock %} {% endblock %}
{% block content_list %} {% block content_list %}

@ -14,7 +14,9 @@
{% block page_title %} {% block page_title %}
{% if meta.h1 %}
<h1>{{ meta.h1 }}</h1>
{% endif %}
{% endblock %} {% endblock %}
{% block content_list %} {% block content_list %}

@ -14,9 +14,7 @@
{% block page_title %} {% block page_title %}
<div class="page-title"> <h1>{% if meta.h1 %}{{ meta.h1 }}{% else %}{% trans 'Посетители' %}{% endif %}</h1>
<h1>{% if meta %}{{ meta.h1 }}{% else %}{% trans 'Посетители' %}{% endif %}</h1>
</div>
{% endblock %} {% endblock %}
{% block content_list %} {% block content_list %}

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

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

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

Loading…
Cancel
Save