Skip to content
Snippets Groups Projects
Unverified Commit d3d1a37e authored by Eva Dale's avatar Eva Dale Committed by GitHub
Browse files

Merge pull request #491 from ASCWebServices/canini-3

adding section titles to advanced callout boxes
parents 5d4c663a 9dd37976
No related branches found
No related tags found
No related merge requests found
...@@ -80,6 +80,9 @@ ...@@ -80,6 +80,9 @@
{% if page_content_type == 'landing_page' %} {% if page_content_type == 'landing_page' %}
<div class="container"> <div class="container">
{% endif %} {% endif %}
{% if content.field_publish_section_title['#items'].value == 1 %}
<h2 class="sec-title">{{ content.field_column_title4 }}</h2>
{% endif %}
<div class="carousel-inner adv-call-mob-inner" role="listbox"> <div class="carousel-inner adv-call-mob-inner" role="listbox">
...@@ -124,6 +127,9 @@ ...@@ -124,6 +127,9 @@
{% if page_content_type == 'landing_page' %} {% if page_content_type == 'landing_page' %}
<div class="container"> <div class="container">
{% endif %} {% endif %}
{% if content.field_publish_section_title['#items'].value == 1 %}
<h2 class="sec-title">{{ content.field_column_title4 }}</h2>
{% endif %}
<div class="carousel-inner" role="listbox"> <div class="carousel-inner" role="listbox">
......
...@@ -101,6 +101,9 @@ ...@@ -101,6 +101,9 @@
{% if page_content_type == 'landing_page' %} {% if page_content_type == 'landing_page' %}
<div class="container"> <div class="container">
{% if content.field_publish_section_title['#items'].value == 1 %}
<h2 class="sec-title">{{ content.field_column_title3 }}</h2>
{% endif %}
<div class="carousel-inner adv-call-mob-inner" role="listbox"> <div class="carousel-inner adv-call-mob-inner" role="listbox">
...@@ -168,6 +171,9 @@ ...@@ -168,6 +171,9 @@
{% if page_content_type == 'landing_page' %} {% if page_content_type == 'landing_page' %}
<div class="container"> <div class="container">
{% endif %} {% endif %}
{% if content.field_publish_section_title['#items'].value == 1 %}
<h2 class="sec-title">{{ content.field_column_title3 }}</h2>
{% endif %}
<div class="carousel-inner" role="listbox"> <div class="carousel-inner" role="listbox">
......
...@@ -100,6 +100,9 @@ ...@@ -100,6 +100,9 @@
{% if page_content_type == 'landing_page' %} {% if page_content_type == 'landing_page' %}
<div class="container"> <div class="container">
{% if content.field_publish_section_title['#items'].value == 1 %}
<h2 class="sec-title">{{ content.field_column_title2 }}</h2>
{% endif %}
<div class="carousel-inner adv-call-mob-inner" role="listbox"> <div class="carousel-inner adv-call-mob-inner" role="listbox">
{% for item in thecont|slice(0, contcount) %} {% for item in thecont|slice(0, contcount) %}
...@@ -165,6 +168,9 @@ ...@@ -165,6 +168,9 @@
{% if page_content_type == 'landing_page' %} {% if page_content_type == 'landing_page' %}
<div class="container"> <div class="container">
{% endif %} {% endif %}
{% if content.field_publish_section_title['#items'].value == 1 %}
<h2 class="sec-title">{{ content.field_column_title2 }}</h2>
{% endif %}
<div class="carousel-inner{% if contcount > 2 %} controls-spacing{% endif %}" role="listbox"> <div class="carousel-inner{% if contcount > 2 %} controls-spacing{% endif %}" role="listbox">
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment