shopapp 0.2.46 → 0.2.47
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 5dac5103d1f9e4fa3bf0396ebacb963d218220afe56938a1c3e6e16f438ec8b6
|
|
4
|
+
data.tar.gz: b35587ec932cf9aefcbaf1d6fc20fe6c840c7b3b4ead014163360e65e068a190
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: a34c5dc165ab6e202155493afb19922bf1c696955d6394bce3f31b00c3f8ec768f55b0aca61046b2f68c21cc77a23dc637fc7190f1e30107b4e37890962dd83f
|
|
7
|
+
data.tar.gz: b5e6f858fba4d311f33d7070340ba98d72e41bc4b0a203048990a2555031811c2fbc27c41ee60446b9b0df96b339309d21f73fc1fb571946c2f2f107b9dad6d5
|
|
@@ -14,6 +14,7 @@ module ShopliftClient
|
|
|
14
14
|
attr_reader :search_path
|
|
15
15
|
attr_accessor :search_placeholder
|
|
16
16
|
helper_method :company_logo_path_defined
|
|
17
|
+
helper_method :home_link_path
|
|
17
18
|
end
|
|
18
19
|
|
|
19
20
|
class_methods do
|
|
@@ -263,4 +264,8 @@ module ShopliftClient
|
|
|
263
264
|
"https://media.shoplift.fi/company_logos/#{@current_user_json_hash['company']['logo_code']}_company_logo_24.png"
|
|
264
265
|
end
|
|
265
266
|
end
|
|
267
|
+
|
|
268
|
+
def home_link_path
|
|
269
|
+
root_path
|
|
270
|
+
end
|
|
266
271
|
end
|
|
@@ -5,9 +5,10 @@ module Shopapp3Helper
|
|
|
5
5
|
'active'
|
|
6
6
|
end
|
|
7
7
|
<<~HTML
|
|
8
|
-
<li class="nav-item
|
|
9
|
-
<a class="nav-link" href="#{sidebar_action[:path]}">
|
|
8
|
+
<li class="nav-item py-3 #{active}">
|
|
9
|
+
<a class="nav-link d-flex flex-column justify-content-start align-items-center" href="#{sidebar_action[:path]}">
|
|
10
10
|
#{image_tag sidebar_action[:icon], width: '20', class: 'img-fluid'}
|
|
11
|
+
<label class="text-light mt-2 text-center">#{ sidebar_action[:tooltip]}</label>
|
|
11
12
|
</a>
|
|
12
13
|
</li>
|
|
13
14
|
HTML
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
#wrapper.d-flex
|
|
2
2
|
#sidebar-wrapper.border-right.bg-secondary
|
|
3
3
|
.sidebar-heading.d-flex.align-items-center.justify-content-center.bg-dark
|
|
4
|
-
=
|
|
4
|
+
= link_to home_link_path do
|
|
5
|
+
= image_tag company_logo_path_defined, width: '55'
|
|
5
6
|
%ul.nav.flex-column.mt-5
|
|
6
7
|
= shopapp3_sidebar_icons
|
|
7
8
|
#page-content-wrapper
|
data/shopapp.gemspec
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Gem::Specification.new do |s|
|
|
2
2
|
s.name = 'shopapp'
|
|
3
|
-
s.version = '0.2.
|
|
3
|
+
s.version = '0.2.47'
|
|
4
4
|
s.date = '2019-04-17'
|
|
5
5
|
s.summary = 'Do a shoplift.'
|
|
6
6
|
s.description = 'Ha! Art thou Bedlam? Dost thou thirst base Trojan, to have me fold up Parca\'s fatal web? Hence!\
|