tramway-admin 1.7.7 → 1.7.7.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
  SHA256:
3
- metadata.gz: 5951aa239c762feccc7e6900ad23020370ed15321a740209bed9046a06e368f6
4
- data.tar.gz: 82a691f86ef97c7a410ef8eaefbf5a47e75a971d8804eae4ee35c1c5ec886db1
3
+ metadata.gz: 313f7fccd039bd897467fd55e7e56fe9890e6b18842ab37a2a6102c85cf4b9aa
4
+ data.tar.gz: b9e4a87d5cbcd2ff742b582ccf9f4cbcfd3dd80cdead816c95cfd0834e8b8e26
5
5
  SHA512:
6
- metadata.gz: a29e96ba5e519eb5082e0f0231eeee9ddbe22d586180788eeb23ec14616d841afb0a2c35cbe232ad4f2396f40e57998f113085e3c07033fa0799baff2ba25f07
7
- data.tar.gz: 2852ce10ff0364faa1bb3814e0075a684b0e53953bdc0748a6ea32a86792fc9e6209a9fba220fa3f4d0a12732926a270402b0263590d635a4a3aa5fed61763c4
6
+ metadata.gz: 990beabf0e608fcfeee5a8d5c401553d5ef13ff3c5f19aca395cc50bba06a03a035fa410a41f0c1c60b2d582db22a64077ae554e6beb47daa0d46541e5189935
7
+ data.tar.gz: abaf784d338610ad564a86946b9e289e9e7c6c823d0e0136858370929688c47a664047018ccc723df62ee389007cc43ec23a3a40669f10abc8e50992e2973970
@@ -3,7 +3,7 @@
3
3
  - if ::Tramway::Admin.customized_admin_navbar.present?
4
4
  = ::Tramway::Admin.customized_admin_navbar
5
5
  - else
6
- = link_to @application&.title || t('aplication.title'), ::Tramway::Admin::Engine.routes.url_helpers.root_path, class: 'navbar-brand'
6
+ = link_to @application&.try(:title) || @application&.name || t('aplication.title'), ::Tramway::Admin::Engine.routes.url_helpers.root_path, class: 'navbar-brand'
7
7
  %button.navbar-toggler.collapsed{ aria: { controls: :navbar, expanded: "false", label: 'Toggle Navigation' }, data: { target: "#navbar", toggle: :collapse }, type: :button }
8
8
  %span.navbar-toggler-icon
9
9
  .navbar-collapse.collapse#navbar
@@ -1,5 +1,5 @@
1
1
  module Tramway
2
2
  module Admin
3
- VERSION = '1.7.7'
3
+ VERSION = '1.7.7.1'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tramway-admin
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.7.7
4
+ version: 1.7.7.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Pavel Kalashnikov