Retrospring/app/views/shared/_locales.haml

13 lines
310 B
Plaintext
Raw Normal View History

2015-06-21 00:03:29 -07:00
.container
.locales
%span
%a{href: '#', id: 'locale-switch'}
%i.fa.fa-globe
= t('views.locale.languages')
#locales-panel
%ul
- APP_LOCALES.each do |key, value|
%li
.flag{class: "flag-#{value[1]}"}
%a{href: "?hl=#{key}"}= value[0]