itsf_backend 2.2.0 → 2.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/views/itsf/backend/i18n/_navigation.html.haml +11 -10
- data/lib/itsf/backend/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2018c783ed7049debdea9e3a99cba8625d44b217
|
4
|
+
data.tar.gz: 2f9e9480e0f37242ef5df7f7aec3915857ebf0e9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 03a30ab60bf9dbc5d76aca544e7099558aac41761fffaa1107891109ff92284436648ec81537e00c144299ebf0a5077bc904ffc5ab5a340606029fd42df1106e
|
7
|
+
data.tar.gz: 5c9ef7e87174a159c20b0a8871efa32ee2be677244b4325fe8b713fe34224bd07cabf444a01989e115de3e1faeb8a92b802fd6546b52fff10977ce5ad4e12b1f
|
@@ -1,10 +1,11 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
=
|
4
|
-
|
5
|
-
|
6
|
-
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
1
|
+
- if I18n.available_locales.reject{ |l| I18n.locale == l }.any?
|
2
|
+
%li.dropdown.active
|
3
|
+
= link_to('#', { class: 'dropdown-toggle', 'data-toggle': 'dropdown', role: 'button', 'aria-haspopup': true, 'aria-expanded': false }) do
|
4
|
+
= t("classes.#{I18n.name.underscore}")
|
5
|
+
%span.caret
|
6
|
+
%ul.dropdown-menu
|
7
|
+
- I18n.available_locales.reject{ |l| I18n.locale == l }.each do |locale|
|
8
|
+
%li{ class: (I18n.locale == locale ? 'active' : nil) }
|
9
|
+
= link_to(url_for(locale: locale.to_s, only_path: true)) do
|
10
|
+
- I18n.with_locale(locale) do
|
11
|
+
= t("locales.#{locale}")
|
data/lib/itsf/backend/version.rb
CHANGED