phcdevworks_notifications 3.0.0 → 3.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/views/phcdevworks_notifications/bootstrap/_notifications.html.erb +3 -9
- data/app/views/phcdevworks_notifications/bootstrap/_validations.html.erb +4 -6
- data/app/views/phcdevworks_notifications/custom/_notifications.html.erb +6 -6
- data/lib/phcdevworks_notifications/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 804dba05f3a9fcbaffb5d482882107eeeeaa71725f9a1a68af37cad59632c1f1
|
4
|
+
data.tar.gz: 5b2f54af2c92e58e48fe84910ffb9eb421b14e0667388fca713fdd4b87dfd870
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d38d724ba6a82383d361e1da86cb515a119dca8cd4a20cefec3569da550255bf0d8505aa4ff7b503fac04e8a355e8ea3f83498c9446f172fc6b8c7d981f775ee
|
7
|
+
data.tar.gz: 324ed845da1bca5323590aaf3a88bee2b288e38668c2b9ea110ef49336c70de259bf7fd48a7f42c8d29fd1378f870aefd9b4ae23324b3b38f51810bcbd6cdc17
|
@@ -1,12 +1,6 @@
|
|
1
1
|
<% flash.each do |flash_type, phc_notification_msg| %>
|
2
|
-
<div class="
|
3
|
-
|
4
|
-
|
5
|
-
<button type="button" class="close" data-dismiss="alert" aria-label="Close">
|
6
|
-
<span aria-hidden="true">×</span>
|
7
|
-
</button>
|
8
|
-
<h4 class="text-center"><%= phc_notification_msg %></h4>
|
9
|
-
</div>
|
10
|
-
</div>
|
2
|
+
<div class="alert <%= phc_notification(flash_type) %> alert-dismissible fade show" role="alert" id="phcdevworks_notifi_alert">
|
3
|
+
<h5 class="text-center"><%= phc_notification_msg %></h5>
|
4
|
+
<button type="button" class="btn-close" data-bs-dismiss="alert" aria-label="Close"></button>
|
11
5
|
</div>
|
12
6
|
<% end %>
|
@@ -1,13 +1,11 @@
|
|
1
1
|
<% if object.errors.any? %>
|
2
2
|
<div class="alert alert-danger alert-dismissable fade show" role="alert">
|
3
|
-
<button type="button" class="close" data-dismiss="alert" aria-label="Close">
|
4
|
-
|
5
|
-
</button>
|
6
|
-
<h4 class="text-center">The form contains <%= pluralize(object.errors.count, "error") %>.</h4>
|
3
|
+
<button type="button" class="btn-close" data-bs-dismiss="alert" aria-label="Close"></button>
|
4
|
+
<h5 class="text-center">The form contains <%= pluralize(object.errors.count, "error") %>.</h5>
|
7
5
|
<ul class="list-group">
|
8
6
|
<% object.errors.full_messages.each do |phc_notification_msg| %>
|
9
|
-
<li class="list-group-item list-group-item-danger
|
10
|
-
<li class="list-group-item list-group-item-danger
|
7
|
+
<li class="list-group-item list-group-item-danger"><%= phc_notification_msg %></li>
|
8
|
+
<li class="list-group-item list-group-item-danger"></li>
|
11
9
|
<% end %>
|
12
10
|
</ul>
|
13
11
|
</div>
|
@@ -1,8 +1,8 @@
|
|
1
1
|
<% flash.each do |flash_type, phc_notification_msg| %>
|
2
|
-
<div class="alert <%= phc_notification(flash_type) %> alert-dismissable fade show" role="alert" id="phcdevworks_notifi_alert">
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
</div>
|
2
|
+
<div class="alert <%= phc_notification(flash_type) %> alert-dismissable fade show" role="alert" id="phcdevworks_notifi_alert">
|
3
|
+
<button type="button" class="close" data-dismiss="alert" aria-label="Close">
|
4
|
+
<span aria-hidden="true">×</span>
|
5
|
+
</button>
|
6
|
+
<h4 class="text-center"><%= phc_notification_msg %></h4>
|
7
|
+
</div>
|
8
8
|
<% end %>
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: phcdevworks_notifications
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.
|
4
|
+
version: 3.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- PHCDevworks
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-
|
11
|
+
date: 2022-03-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|