File tree Expand file tree Collapse file tree 3 files changed +6
-7
lines changed
src/Themes/PortalTheme/Views Expand file tree Collapse file tree 3 files changed +6
-7
lines changed Original file line number Diff line number Diff line change 2
2
{% for culture in Model .SupportedCultures %}
3
3
{% if culture .Name != Model .CurrentCulture .Name %}
4
4
{% capture targetCultureLongName %}{% if culture .Name contains 'fr' %}Français{% else %}English{% endif %}{% endcapture %}
5
- {% capture targetCultureUrl %}{{ culture .Name | switch_culture_url }}{% endcapture %}
6
- <a class =" dropdown-item d-lg-none d-flex" href =" {{targetCultureUrl }}" aria-label =" {{targetCultureLongName }}" >{{targetCultureLongName }}</a >
7
- <a href =" {{ targetCultureUrl }}" class =" btn btn-primary is-circle language-toggle d-lg-flex d-none" aria-label =" {{targetCultureLongName }}" >{{ culture .Name }}</a >
5
+ {% capture targetCultureUrl %}{{ culture .Name | switch_culture_url }}{% endcapture %}
6
+ <a class =" dropdown-item d-lg-none d-flex" href =" {{targetCultureUrl }}" lang = " {{ culture . Name }} " aria-label =" {{targetCultureLongName }}" >{{targetCultureLongName }}</a >
7
+ <a href =" {{ targetCultureUrl }}" class =" btn btn-primary is-circle language-toggle d-lg-flex d-none" lang = " {{ culture . Name }} " aria-label =" {{targetCultureLongName }}" >{{ culture .Name }}</a >
8
8
{% endif %}
9
- {% endfor %}
10
-
9
+ {% endfor %}
Original file line number Diff line number Diff line change 1
1
<section class =" content-section" >
2
- <div class =" {{ Model .ContentItem .Content .Section .Section .Text }}" >
2
+ <div class =" {{ Model .ContentItem .Content .Section .Section .Text | default: 'd-none' }}" >
3
3
<h2 class =" {{ Model .ContentItem .Content .Section .TitleLayout .Text }}" >{{ Model .ContentItem | display_text }}</h2 >
4
4
<div class =" row {{ Model .ContentItem .Content .Section .ColumnLayout .Text }} {{ Model .ContentItem .Content .Section .JustifyContent .Text }}" >
5
5
{% for item in Model .ContentItem .Content .SectionPanels .ContentItems %}
Original file line number Diff line number Diff line change 29
29
{% endif %}
30
30
</div >
31
31
<div >
32
- <h3 >{{ item .SectionPanelLink .Name .Text }}</h3 >
32
+ <h3 >{{ item .SectionPanelLink .Name .Text }} {% if item . SectionPanelLink . HeroHighlight . Value == true %}< i class = " fas fa-star ml-1 " ></ i >{% endif %} </h3 >
33
33
<p class =" text-secondary" >{{ item .SectionPanelLink .Description .Text }}</p >
34
34
</div >
35
35
</div >
You can’t perform that action at this time.
0 commit comments