Skip to content

Commit

Permalink
Merge pull request #939 from uktrade/GREATUK-1167-ammendments-to-href…
Browse files Browse the repository at this point in the history
…lang

Correct lang attribute
  • Loading branch information
rafa-garcia authored Sep 23, 2024
2 parents 97b3df2 + 3a5f08b commit 59f6698
Show file tree
Hide file tree
Showing 17 changed files with 21 additions and 21 deletions.
6 changes: 3 additions & 3 deletions app/views/layouts/admin.html.haml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
!!!
/[if IE 8] <html class="no-js lt-ie10 lt-ie9" lang="en-GB">
/[if IE 9] <html class="no-js lt-ie10" lang="en-GB">
/[if IE 8] <html class="no-js lt-ie10 lt-ie9" lang="en-gb">
/[if IE 9] <html class="no-js lt-ie10" lang="en-gb">
/[if gt IE 9]
%html.no-js{:lang => "en-GB"}
%html.no-js{:lang => "en-gb"}
%head
%title= "#{t('organisation.name')} - Opportunities"
<meta name="viewport" content="width=device-width, initial-scale=1" />
Expand Down
2 changes: 1 addition & 1 deletion app/views/layouts/admin_transformed.html.erb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!DOCTYPE html>
<html lang='en-GB'>
<html lang='en-gb'>
<head>
<title><%= t('organisation.name') %> - Admin</title>
<%= csrf_meta_tags %>
Expand Down
6 changes: 3 additions & 3 deletions app/views/layouts/application.html.haml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
!!!
/[if IE 8] <html class="no-js lt-ie10 lt-ie9" lang="en-GB">
/[if IE 9] <html class="no-js lt-ie10" lang="en-GB">
/[if IE 8] <html class="no-js lt-ie10 lt-ie9" lang="en-gb">
/[if IE 9] <html class="no-js lt-ie10" lang="en-gb">
/[if gt IE 9]
%html.no-js{:lang => "en-GB"}
%html.no-js{:lang => "en-gb"}
/ <![endif]
%head
%meta{:content => "IE=edge", "http-equiv" => "X-UA-Compatible"}/
Expand Down
2 changes: 1 addition & 1 deletion app/views/layouts/enquiries.html.erb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!DOCTYPE html>
<html lang="en-GB">
<html lang="en-gb">
<head>
<% @page_type = 'EnquiriesPage' %>

Expand Down
2 changes: 1 addition & 1 deletion app/views/layouts/form.html.erb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!DOCTYPE html>
<html lang="en-GB">
<html lang="en-gb">
<head>
<% @page_type = 'FormPage' %>

Expand Down
2 changes: 1 addition & 1 deletion app/views/layouts/general.html.erb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!DOCTYPE html>
<html lang="en-GB">
<html lang="en-gb">
<head>
<title><%= t('site_name') %></title>
<%= csrf_meta_tags %>
Expand Down
2 changes: 1 addition & 1 deletion app/views/layouts/help.html.erb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!DOCTYPE html>
<html lang='en-GB'>
<html lang='en-gb'>
<head>
<title><%= t('organisation.name') %> - Guidance</title>
<%= csrf_meta_tags %>
Expand Down
2 changes: 1 addition & 1 deletion app/views/layouts/help_article.html.erb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!DOCTYPE html>
<html lang='en-GB'>
<html lang='en-gb'>
<head>
<%= content_for?(:content) ? yield(:content) : yield %>
<title><%= t('organisation.name') %> - <%= @article.title %></title>
Expand Down
2 changes: 1 addition & 1 deletion app/views/layouts/help_article_print.html.erb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!DOCTYPE html>
<html lang='en-GB'>
<html lang='en-gb'>
<head>
<%= content_for?(:content) ? yield(:content) : yield %>
<title><%= t('organisation.name') %> - <%= @article.title %></title>
Expand Down
2 changes: 1 addition & 1 deletion app/views/layouts/landing.html.erb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!DOCTYPE html>
<html lang="en-GB">
<html lang="en-gb">
<% @page_type = 'LandingPage' %>

<head>
Expand Down
2 changes: 1 addition & 1 deletion app/views/layouts/notification.html.erb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!DOCTYPE html>
<html lang="en-GB">
<html lang="en-gb">
<% @page_type = 'NotificationPage' %>

<head>
Expand Down
2 changes: 1 addition & 1 deletion app/views/layouts/opportunity.html.erb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!DOCTYPE html>
<html lang="en-GB">
<html lang="en-gb">
<head>
<% @page_type = 'OpportunityPage' %>

Expand Down
2 changes: 1 addition & 1 deletion app/views/layouts/results.html.erb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!DOCTYPE html>
<html lang="en-GB">
<html lang="en-gb">
<head>
<% @page_type = 'SearchResultsPage' %>

Expand Down
2 changes: 1 addition & 1 deletion app/views/opportunities/index.atom.builder
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
atom_feed(schema_date: 2016, language: 'en-GB', root_url: @query.feed_root_url) do |feed|
atom_feed(schema_date: 2016, language: 'en-gb', root_url: @query.feed_root_url) do |feed|
feed.title t('site_name')
feed.subtitle 'The demand is out there. You could be too.'
feed.updated(@query.feed_updated_at) if @query.feed_updated_at
Expand Down
2 changes: 1 addition & 1 deletion app/views/poc/layouts/domestic.html.erb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!DOCTYPE html>
<html lang="en-GB">
<html lang="en-gb">
<head>
<title><%= t('site_name') %></title>
<%= csrf_meta_tags %>
Expand Down
2 changes: 1 addition & 1 deletion app/views/poc/layouts/form.html.erb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!DOCTYPE html>
<html lang="en-GB">
<html lang="en-gb">
<head>
<title><%= t('site_name') %></title>
<%= csrf_meta_tags %>
Expand Down
2 changes: 1 addition & 1 deletion app/views/poc/layouts/international.html.erb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!DOCTYPE html>
<html lang="en-GB">
<html lang="en-gb">
<head>
<title><%= t('organisation.name') %></title>
<%= csrf_meta_tags %>
Expand Down

0 comments on commit 59f6698

Please sign in to comment.