Skip to content

Commit

Permalink
Follow rubocop style for Ruby embedded in Haml
Browse files Browse the repository at this point in the history
Co-authored-by: Bruno Casali <[email protected]>
  • Loading branch information
DeeDeeG and brunoocasali committed Nov 4, 2020
1 parent 54380c9 commit 6be9580
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
16 changes: 8 additions & 8 deletions app/views/layouts/_footer.html.haml
Original file line number Diff line number Diff line change
Expand Up @@ -18,18 +18,18 @@
= "\&copy; #{t('.copyleft')} #{Date.today.year} #{t('.refuge-restrooms')}".html_safe
%br/
%br/
= link_to 'English', request.query_parameters.merge({:locale => 'en'}), class: "locale_link"
= link_to 'English', request.query_parameters.merge(locale: 'en'), class: 'locale_link'
&bull;
= link_to 'Español', request.query_parameters.merge({:locale => 'es'}), class: "locale_link"
= link_to 'Español', request.query_parameters.merge(locale: 'es'), class: 'locale_link'
&bull;
= link_to 'Filipino/Tagalog', request.query_parameters.merge({:locale => 'fil'}), class: "locale_link"
= link_to 'Filipino/Tagalog', request.query_parameters.merge(locale: 'fil'), class: 'locale_link'
&bull;
= link_to 'Français', request.query_parameters.merge({:locale => 'fr'}), class: "locale_link"
= link_to 'Français', request.query_parameters.merge(locale: 'fr'), class: 'locale_link'
&bull;
= link_to 'हिन्दी', request.query_parameters.merge({:locale => 'hi'}), class: "locale_link"
= link_to 'हिन्दी', request.query_parameters.merge(locale: 'hi'), class: 'locale_link'
&bull;
= link_to 'Italiano', request.query_parameters.merge({:locale => 'it'}), class: "locale_link"
= link_to 'Italiano', request.query_parameters.merge(locale: 'it'), class: 'locale_link'
&bull;
= link_to 'polski', request.query_parameters.merge({:locale => 'pl'}), class: "locale_link"
= link_to 'polski', request.query_parameters.merge(locale: 'pl'), class: 'locale_link'
&bull;
= link_to 'Português do Brasil', request.query_parameters.merge({:locale => 'pt-BR'}), class: "locale_link"
= link_to 'Português do Brasil', request.query_parameters.merge(locale: 'pt-BR'), class: 'locale_link'
2 changes: 1 addition & 1 deletion app/views/layouts/_navigation.html.haml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
%nav.nav.navbar-default{:role => "navigation"}
/ Brand and toggle get grouped for better mobile display
.navbar-header
= link_to root_path, id: "logo", class: "toiletLogo" do
= link_to root_path, id: 'logo', class: 'toiletLogo' do
.navbar-brand Refuge Restrooms
%button.navbar-toggle{"data-target" => "#bs-example-navbar-collapse-1", "data-toggle" => "collapse", :type => "button"}
%span.sr-only= t('.toggle-navigation-button-label')
Expand Down

0 comments on commit 6be9580

Please sign in to comment.