web47core 3.2.3.19 → 3.2.3.21
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: 96617e4b5114564358a5845a1907cea6ea09fa64d5e0b5c27015766f31ee7043
|
|
4
|
+
data.tar.gz: a12a58c8f63fbca854409224431e617e874595ca8ffe4b2553ebf52da30b0fcf
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 2a0271b0b92ad4d8e47c80b468253b68fe1ad74a99330676698dc2c4750d2d96e79662cd049e0961ce32cf0e98a1e294440f11e5bf5ee061207570425e6a4494
|
|
7
|
+
data.tar.gz: 1a662452387bcc8c36580ac3b4b4c158688c78bfda0fb2531a203cc959e9bd723cbe732470520510a5111ed371aa8a26de5fb62fe718bf3c79c679e507e9d5f3
|
|
@@ -103,7 +103,7 @@ module CoreTableActionHelper
|
|
|
103
103
|
def table_action_download_tag(record, options = {})
|
|
104
104
|
return unless can?(:read, record)
|
|
105
105
|
|
|
106
|
-
link_classes =
|
|
106
|
+
link_classes = table_tooltip_data(options, 'Download')
|
|
107
107
|
content_tag(:a, href: download_polymorphic_path(record), class: link_classes.join(' ')) do
|
|
108
108
|
svg_icon('download', type: options[:type] || :outline)
|
|
109
109
|
end
|
|
@@ -111,7 +111,7 @@ module CoreTableActionHelper
|
|
|
111
111
|
|
|
112
112
|
private
|
|
113
113
|
|
|
114
|
-
def
|
|
114
|
+
def table_tooltip_data(options, default_title)
|
|
115
115
|
classes = ['btn-floating', 'btn-small']
|
|
116
116
|
classes << 'tooltipped' unless options[:no_tooltip]
|
|
117
117
|
classes << options[:class] if options[:class]
|
|
@@ -195,8 +195,9 @@ class Notification
|
|
|
195
195
|
|
|
196
196
|
def message_from_haml_text(haml_text, locals)
|
|
197
197
|
locals[:base_url] = SystemConfiguration.base_url
|
|
198
|
-
|
|
199
|
-
|
|
198
|
+
|
|
199
|
+
template = Haml::Template.new { haml_text }
|
|
200
|
+
self.message = template.render(Object.new, locals)
|
|
200
201
|
end
|
|
201
202
|
|
|
202
203
|
def message_from_haml_file(file_name, locals)
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
!!!
|
|
2
|
+
%html{lang: :en}
|
|
3
|
+
%head
|
|
4
|
+
%meta{content: 'text/html; charset=UTF-8'}
|
|
5
|
+
%body{style: 'margin:20px'}
|
|
6
|
+
%p Failed to send the following notification due to the following error:
|
|
7
|
+
%ul{style: 'list-style-type:none; margin:25px 15px;'}
|
|
8
|
+
%li
|
|
9
|
+
%b="Error: #{error_message}"
|
|
10
|
+
%b="Notification: #{notification_url}"
|
data/lib/web47core/version.rb
CHANGED
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: 3.2.3.
|
|
4
|
+
version: 3.2.3.21
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Chris Schroeder
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2025-11-
|
|
11
|
+
date: 2025-11-22 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: activemodel
|
|
@@ -6623,6 +6623,7 @@ files:
|
|
|
6623
6623
|
- lib/merge_coverage.rb
|
|
6624
6624
|
- lib/templates/email/notification_failure.liquid
|
|
6625
6625
|
- lib/templates/email/notification_failure.subject.liquid
|
|
6626
|
+
- lib/templates/email/verify_notification.haml
|
|
6626
6627
|
- lib/templates/slack/error_message.liquid
|
|
6627
6628
|
- lib/templates/slack/failed_delayed_job.liquid
|
|
6628
6629
|
- lib/update_icons.rb
|