Skip to content

Commit

Permalink
Merge pull request #301 from awesomefoundation/adjust-footer
Browse files Browse the repository at this point in the history
Rearrange footer and fix social media links
  • Loading branch information
jcn authored Feb 3, 2018
2 parents 744c2b8 + 39e0565 commit 8fa83ca
Show file tree
Hide file tree
Showing 7 changed files with 18 additions and 8 deletions.
14 changes: 6 additions & 8 deletions app/views/shared/_footer.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -2,25 +2,23 @@
<p>
<%= link_to t("layouts.application.about_contact"), about_us_path %>
<%= link_to t("layouts.application.faq"), faq_path %>

<%= link_to content_tag("i", nil, :class => "icon-twitter", :title => t("word.twitter")), "https://twitter.com/awesomefound", :target => "_blank" %>
<%= link_to content_tag("i", nil, :class => "icon-facebook", :title => t("word.facebook")), "https://www.facebook.com/awesomefoundation", :target => "_blank" %>

<% if signed_in? -%>
<%= link_to t("layouts.application.sign-out"), sign_out_path, :method => :delete %>
<% else -%>
<%= link_to t("layouts.application.sign-in"), sign_in_path %>
<% end -%>
</p>

<span>·</span>

<p>
<%= link_to "Български", params.merge(:locale => "bg") %>
<%= link_to "English", params.merge(:locale => "en") %>
<%= link_to "Español", params.merge(:locale => "es") %>
<%= link_to "Français", params.merge(:locale => "fr") %>
<%= link_to "Português", params.merge(:locale => "pt") %>
<%= link_to "Русский", params.merge(:locale => "ru") %>
</p>

<ol class="social-links">
<li><%= link_to "", "https://twitter.com/awesomefound", :class => :twitter %></li>
<li><%= link_to "", "https://www.facebook.com/awesomefoundation", :class => :facebook %></li>
<li><%= link_to "", "http://blog.awesomefoundation.org", :class => :blog %></li>
</ol>
</footer>
2 changes: 2 additions & 0 deletions config/locales/bg.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ bg:
funding: "%B %Y"
word:
inactive: Неактивен
twitter: Twitter
facebook: Facebook
flash:
permissions:
must-be-logged-in: Влезте в профила си.
Expand Down
2 changes: 2 additions & 0 deletions config/locales/en.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ en:
funding: "%B %Y"
word:
inactive: Inactive
twitter: Twitter
facebook: Facebook
flash:
permissions:
must-be-logged-in: You must be logged in.
Expand Down
2 changes: 2 additions & 0 deletions config/locales/es.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ es:
funding: "%B %Y"
word:
inactive: Inactivo
twitter: Twitter
facebook: Facebook
flash:
permissions:
must-be-logged-in: Debes estar conectado.
Expand Down
2 changes: 2 additions & 0 deletions config/locales/fr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ fr:
funding: "%B %Y"
word:
inactive: Non-active
twitter: Twitter
facebook: Facebook
flash:
permissions:
must-be-logged-in: Vous devez être connecté.
Expand Down
2 changes: 2 additions & 0 deletions config/locales/pt.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ pt:
funding: "%B %Y"
word:
inactive: Inativo
twitter: Twitter
facebook: Facebook
flash:
permissions:
must-be-logged-in: Você deve estar autenticado.
Expand Down
2 changes: 2 additions & 0 deletions config/locales/ru.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ ru:
funding: "%B %Y"
word:
inactive: Inactive
twitter: Twitter
facebook: Facebook
flash:
permissions:
must-be-logged-in: Вы должны авторизоваться.
Expand Down

0 comments on commit 8fa83ca

Please sign in to comment.