29 lines
1.3 KiB
Plaintext
Raw Normal View History

2016-07-09 23:29:46 -07:00
.external
.facebook
=_'links.footer.help_text.facebook', 'Join our facebook group' do |title|
%a{href: 'https://www.facebook.com/groups/648758205249998/', target: :_blank, title: title}
=svg_sprite 'icons', 'bb-icon-fb', 'facebook logo'
.github
%a{href: 'https://github.com/bikebike/BikeBike', target: :_blank}
= off_screen(_'links.footer.text.Help_contribute')
= svg_sprite 'icons', 'bb-icon-github', 'github logo'
.user-controls
- if logged_in?
= link_to (_!current_user.name), settings_path, class: 'my-account'
= _!' | '
= link_to (_'forms.actions.generic.Log_out'), logout_path, class: 'logout'
- else
= signin_link
2016-05-09 21:35:26 -07:00
%ul.locales
2016-06-17 19:18:18 -07:00
- @alt_lang_urls.each do |locale, url|
%li
- locale_translation = language(locale, true)
2016-06-17 19:18:18 -07:00
%a{href: url, lang: locale}
=_'translate.content.change_locale', "Read in #{locale_translation}", vars: {language: locale_translation}, locale: locale if locale != I18n.locale.to_s
2016-07-07 21:16:01 -07:00
.site-info
2016-07-09 23:29:46 -07:00
.contact-us=link_to (_'links.footer.help_text.contact'), contact_path, id: 'contact-link'
2016-07-07 21:16:01 -07:00
.copy
=_'links.footer.help_text.contributors', 'Who contributed to building this website' do |title|
=link_to :humans_txt, {title: title} do
=((_!"©#{Date.today.strftime("%Y")} Bike!Bike!") || '').html_safe