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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: bd571360f20a7f653a3b04e73e27818fad6f23d4
4
- data.tar.gz: 86762817f6b50c73bb2bf70254e593e545feded1
3
+ metadata.gz: 2018c783ed7049debdea9e3a99cba8625d44b217
4
+ data.tar.gz: 2f9e9480e0f37242ef5df7f7aec3915857ebf0e9
5
5
  SHA512:
6
- metadata.gz: ccb557d90efaa0299263d661cb57480d549a4aba0b71c18d00cc9c9aa97b955f318aceb29fcb4ecb15aba7dc714a4927efd8776740a62d9809e3914222917c2f
7
- data.tar.gz: 2fbcd18c6956583ab379394d217a404e5c3f9044fbad14c9149ef4e833098f1e1175f08aa0fd62fc2bd37ad346ecacb7dcf2934fab62e9e1f270aa0d502529c8
6
+ metadata.gz: 03a30ab60bf9dbc5d76aca544e7099558aac41761fffaa1107891109ff92284436648ec81537e00c144299ebf0a5077bc904ffc5ab5a340606029fd42df1106e
7
+ data.tar.gz: 5c9ef7e87174a159c20b0a8871efa32ee2be677244b4325fe8b713fe34224bd07cabf444a01989e115de3e1faeb8a92b802fd6546b52fff10977ce5ad4e12b1f
@@ -1,10 +1,11 @@
1
- %li.dropdown.active
2
- = link_to('#', { class: 'dropdown-toggle', 'data-toggle': 'dropdown', role: 'button', 'aria-haspopup': true, 'aria-expanded': false }) do
3
- = t("classes.#{I18n.name.underscore}")
4
- %span.caret
5
- %ul.dropdown-menu
6
- - I18n.available_locales.reject{ |l| I18n.locale == l }.each do |locale|
7
- %li{ class: (I18n.locale == locale ? 'active' : nil) }
8
- = link_to(url_for(locale: locale.to_s, only_path: true)) do
9
- - I18n.with_locale(locale) do
10
- = t("locales.#{locale}")
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}")
@@ -1,5 +1,5 @@
1
1
  module Itsf
2
2
  module Backend
3
- VERSION = '2.2.0'
3
+ VERSION = '2.2.1'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: itsf_backend
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.2.0
4
+ version: 2.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Roberto Vasquez Angel