-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #210 from moneyadviceservice/ie_11_fixen
IE 11 fixen (merge to master)
- Loading branch information
Showing
9 changed files
with
57 additions
and
45 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,3 @@ | |
.button--compact { | ||
min-width: 80px; | ||
} | ||
|
||
.pagination__counter { | ||
margin: 0 $baseline-unit; | ||
} |
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
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
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
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 |
---|---|---|
@@ -1,16 +1,14 @@ | ||
<div class="l-results__main"> | ||
<div class="l-results__feedback"> | ||
<a href="https://www.moneyadviceservice.org.uk/<%= I18n.locale %>/improvements/?source=rad"><%= t('feedback_button') %></a> | ||
</div> | ||
|
||
<% if @result.try { firms.any? } %> | ||
<div class="l-results__back-to-top back-to-top"> | ||
<%= link_to '#top', class: 'back-to-top__link' do %> | ||
<%= t('search.back_to_top') %> | ||
<svg title="<%= t('search.back_to_top') %>" xmlns="http://www.w3.org/2000/svg" class="back-to-top__icon"> | ||
<use xlink:href="#icon-back-to-top"></use> | ||
</svg> | ||
<% end %> | ||
</div> | ||
<% end %> | ||
<div class="l-results__feedback"> | ||
<a href="https://www.moneyadviceservice.org.uk/<%= I18n.locale %>/improvements/?source=rad"><%= t('feedback_button') %></a> | ||
</div> | ||
|
||
<% if @result.try { firms.any? } %> | ||
<div class="l-results__back-to-top back-to-top"> | ||
<%= link_to '#top', class: 'back-to-top__link' do %> | ||
<%= t('search.back_to_top') %> | ||
<svg title="<%= t('search.back_to_top') %>" xmlns="http://www.w3.org/2000/svg" class="back-to-top__icon"> | ||
<use xlink:href="#icon-back-to-top"></use> | ||
</svg> | ||
<% end %> | ||
</div> | ||
<% end %> |
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 |
---|---|---|
@@ -1,25 +1,23 @@ | ||
<div class="l-results__main"> | ||
<% if @form.valid? %> | ||
<% if @result.firms.any? %> | ||
<div class="l-results__summary"> | ||
<p class="l-results__summary-text t-results-summary-text"> | ||
<%= t('search.summary_of_results.showing', | ||
first_record: @result.first_record, | ||
last_record: @result.last_record, | ||
total_records: @result.total_records) %> | ||
</p> | ||
</div> | ||
<% else %> | ||
<p><%= t('search.no_results_message') %></p> | ||
<% end %> | ||
<% if @form.valid? %> | ||
<% if @result.firms.any? %> | ||
<div class="l-results__summary"> | ||
<p class="l-results__summary-text t-results-summary-text"> | ||
<%= t('search.summary_of_results.showing', | ||
first_record: @result.first_record, | ||
last_record: @result.last_record, | ||
total_records: @result.total_records) %> | ||
</p> | ||
</div> | ||
<% else %> | ||
<p><%= t('search.no_results_message') %></p> | ||
<% end %> | ||
|
||
<ol class="l-results__list"> | ||
<%= render partial: 'search/partials/firm', collection: @result.firms, as: :firm %> | ||
</ol> | ||
<ol class="l-results__list"> | ||
<%= render partial: 'search/partials/firm', collection: @result.firms, as: :firm %> | ||
</ol> | ||
|
||
<%= paginate @result %> | ||
<%= paginate @result %> | ||
<% else %> | ||
<p class="t-incorrect-criteria"><%= t('search.incorrect_search_criteria') %></p> | ||
<% end %> | ||
</div> | ||
<% else %> | ||
<p class="t-incorrect-criteria"><%= t('search.incorrect_search_criteria') %></p> | ||
<% end %> |