web47core 1.1.12 → 1.1.13

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: 8b6544eb45fefb9b028a1975ad7a7289d176dfaa730a55f2fc8025f659870f46
4
- data.tar.gz: f0476ca81bf64ff848fbbface268cd37218d63ee5e164b736f5f5d9aa928a4a5
3
+ metadata.gz: 248e195b35547678ee68be07548d343e892c20bbc8217e5f6c66b787a68fe37e
4
+ data.tar.gz: 62d2b0ccebc643a0b4686d774921721d6d470e7c495017c3826aed3f63cc6e5f
5
5
  SHA512:
6
- metadata.gz: 6e19c4219cfc0c8f8627af26ea971c038372fc47b8baaa853730424ce62422adba935ea810a087bb478ae12fd96865fd7309b7c4761197e12ab4ba11146d5fa0
7
- data.tar.gz: cdf2ab7e1e34722c7c625efbed5498de124905adc789559cc37897e44210eea26895125a959073e98c8369749f76f4103b38345bba52efe5c6196ea86985080a
6
+ metadata.gz: 27b57435871ad1ac1500dfb25becf4ab505d0c742fe606814a456722920b38d468b99f31bf4a1dd36a0f5ab31c60f93ce2c37797ea642784da63a945e477cdbc
7
+ data.tar.gz: 74ca4b8bcf76c86ddbc9193d1aae1dfccf83081b62642cb3ac90d6602874160d5fb29d07d8052e781024896bf4641fd3157687c70ffa3db7c31661e4c870b30f
@@ -54,11 +54,15 @@ module CoreLinkHelper
54
54
  #
55
55
  # Add a favorite tag
56
56
  #
57
- def favorite_tag(favorite)
57
+ def favorite_tag(favorite, options = {})
58
+ data = {}
59
+ link_classes = tooltip_data(options, data)
60
+ link_classes += %w[material-icons pointer favorite]
58
61
  content_tag(:i,
59
- class: 'material-icons pointer favorite',
62
+ class: link_classes.join(' '),
63
+ data: data,
60
64
  id: favorite.id.to_s,
61
- type: favorite.favorite_type) { concat('favorite_border') }
65
+ type: favorite.favorite_type) { concat(icon_name(options, 'favorite_border')) }
62
66
  end
63
67
 
64
68
  #
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Web47core
4
- VERSION = '1.1.12'
4
+ VERSION = '1.1.13'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: web47core
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.12
4
+ version: 1.1.13
5
5
  platform: ruby
6
6
  authors:
7
7
  - Chris Schroeder
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-03-18 00:00:00.000000000 Z
11
+ date: 2021-03-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport