-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
20 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -32,7 +32,7 @@ | |
<div class="assessment-box__title"><span>Corporates <br />CP & MQ</span></div> | ||
<% end %> | ||
<%= link_to tpi_corporate_bond_issuers_path, class: 'assessment-box' do %> | ||
<div class="assessment-box__title"><span>Corporates <br />CA100+</span></div> | ||
<div class="assessment-box__title"><span>Bond <br />Issuers</span></div> | ||
<% end %> | ||
<%= link_to tpi_banks_path, class: 'assessment-box' do %> | ||
<div class="assessment-box__title"><span>Banks</span></div> | ||
|
@@ -168,7 +168,7 @@ | |
<div class="section-description"> | ||
<div class="slider-container" data-controller="tpi-home-slider" data-tpi-home-slider-tablet-items-value="2" data-tpi-home-slider-desktop-items-value="3"> | ||
<div class="slider" data-tpi-home-slider-target="items"> | ||
<% @latest_researches.each do |research| %> | ||
<% @latest_researches.each_with_index do |research, index| %> | ||
<div> | ||
<%= link_to tpi_publication_download_file_path(slug: research.slug), target: '_blank', class: 'research-box' do %> | ||
<img src="<%= url_for(research.image) %>" /> | ||
|
@@ -187,6 +187,9 @@ | |
</div> | ||
</div> | ||
<% end %> | ||
<% if index <= @latest_researches.length - 1 %> | ||
<div class="slider-divider"> </div> | ||
<% end %> | ||
</div> | ||
<% end %> | ||
</div> | ||
|
@@ -209,7 +212,7 @@ | |
<img src="<%= asset_path 'tpi/funders/tpi.png' %>" /> | ||
</div> | ||
<br /> | ||
<div class="info">If you would like to discuss funding TPI Centre's work, please <a href="mailto:[email protected]" class="footer-link">Contact Us</a></div> | ||
<div class="info">If you would like to discuss funding TPI Centre's work, please <a href="mailto:[email protected]" class="footer-link">contact us</a></div> | ||
</div> | ||
</div> | ||
</section> | ||
|