wco_models 3.1.0.172 → 3.1.0.173

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: a9d7f90cd07738625ede1c827f614f78dd805e3a9289d848cf294bc303c55942
4
- data.tar.gz: 33bc51ba615b9b81848cbb667e966af1d15f4c9e0ed5edc18832d1efca1fe7b6
3
+ metadata.gz: cd705af408f7a2df9270b4fb75723b1c657a2df5c38437468a59a490028c249e
4
+ data.tar.gz: d9fbba6082924957cbc409c08a87dc60042890e2b70d538885a83f52ed3a40ab
5
5
  SHA512:
6
- metadata.gz: e88195624c9021ca22a0384feff772940f0c1fe36a497878e5cb652fd9250819d61c9bf39a759e5c202d9f876480b18b45a4f73a900cd8b777f55f711db281af
7
- data.tar.gz: 8689c012d38b7e9949913b67a3115194eeb61109dac3a8197a0322af29f6e5fb84056309d588328dd4bbc4b415c8ed0731001b75b728352ff183bffd60044e15
6
+ metadata.gz: 4ab8a576afb201f905788bd567a828bb8a7f4f347079fa292b9a93d00dcac16dc8ec72a7625370ea11579f9d99c4597903d60809855ecf27488269c2c158b074
7
+ data.tar.gz: 92decb4e332e25045a29ca87b90f7da3eabac5eaba969efdb2818b5d48e02bce135b6243b05414a9f02d2b6ad99f013b531890d27783cae2ce4ba33f399d600c
@@ -1,11 +1,12 @@
1
1
 
2
+ - config ||= {}
2
3
 
3
4
  -# <b>Tags (#{tags.length}):</b>
4
5
  -# - cache cache_key do
5
- .Tags.chips.mb-2
6
+ .Tags.chips.mb-2.d-inline-block
6
7
  - tags.each do |tag|
7
8
  .Chip{ data: { tag: { id: tag.id.to_s } } }
8
- - if !config&.without_checkbox
9
+ - unless config[:skip_checkbox]
9
10
  = check_box_tag 'tag_ids[]', tag.id
10
11
  = link_to tag.slug, wco.tag_path( tag )
11
12
  - if defined? resource
@@ -45,7 +45,7 @@
45
45
  -# = render '/wco_email/contexts/form_reply_mini', lead_id: msg.lead_id, message: msg, ctx: WcoEmail::Context.new({ from_email: msg.to&.downcase, subject: msg.subject, email_template_id: ET.find_by( slug: 'blank').id })
46
46
 
47
47
  %td.tags.mini
48
- = render '/wco/tags/list_chips', tags: conv.tags, cache_key: conv.cache_key, config: OpenStruct.new( without_checkbox: true )
48
+ = render '/wco/tags/list_chips', tags: conv.tags, cache_key: conv.cache_key, config: { skip_checkbox: true }
49
49
  %td.latest-at
50
50
  = pp_date conv.latest_at
51
51
  = pp_time conv.latest_at
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: wco_models
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.1.0.172
4
+ version: 3.1.0.173
5
5
  platform: ruby
6
6
  authors:
7
7
  - Victor Pudeyev
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-08-21 00:00:00.000000000 Z
11
+ date: 2024-08-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: ahoy_matey