Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rearrange footer and fix social media links #301

Merged
merged 1 commit into from
Feb 3, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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