Skip to content

Commit

Permalink
Set Reports headings to locales
Browse files Browse the repository at this point in the history
  • Loading branch information
inulty-dfe committed May 14, 2024
1 parent cc57bf2 commit 5a71ff8
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
6 changes: 3 additions & 3 deletions app/views/provider_interface/reports/index.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<% if FeatureFlag.active?(:recruitment_performance_report) %>
<% if @performance_reports %>
<h2 class="govuk-heading-m">
Weekly recruitment performance report
<%= t('.performance_report_heading') %>
</h2>
<% end %>
Expand Down Expand Up @@ -42,7 +42,7 @@
<% end %>
<% end %>

<h2 class="govuk-heading-m">Application data for this recruitment cycle</h2>
<h2 class="govuk-heading-m"><%= t('.application_data_heading') %></h2>
<% @providers.each do |provider| %>
<% if @providers.many? %>
<h3 class="govuk-heading-s"><%= provider.name %></h3>
Expand All @@ -60,7 +60,7 @@
</ul>
<% end %>

<h2 class="govuk-heading-m">Download and export</h2>
<h2 class="govuk-heading-m"><%= t('.download_export_heading') %></h2>
<ul class="govuk-list govuk-list--spaced">
<li>
<%= govuk_link_to t('page_titles.provider.export_application_data'), provider_interface_new_application_data_export_path %>
Expand Down
4 changes: 4 additions & 0 deletions config/locales/provider_interface/reports.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
en:
provider_interface:
reports:
index:
performance_report_heading: Weekly recruitment performance report
application_data_heading: Application data for this recruitment cycle
download_export_heading: Download and export
hesa:
diversity_text: Sex, disability and ethnicity information will be marked as confidential if you do not have permission to view it.
download_link: 'Export data for %{cycle_name} (CSV)'
Expand Down

0 comments on commit 5a71ff8

Please sign in to comment.