phcdevworks_notifications 3.0.0 → 3.1.0

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: 050534af49240652196e7c79021fb8b392b31899da3d1fa657299e049147a518
4
- data.tar.gz: 79b1d967212c484518ec9634921af0fc9017c61af3cd7a6caa920148eee12398
3
+ metadata.gz: 804dba05f3a9fcbaffb5d482882107eeeeaa71725f9a1a68af37cad59632c1f1
4
+ data.tar.gz: 5b2f54af2c92e58e48fe84910ffb9eb421b14e0667388fca713fdd4b87dfd870
5
5
  SHA512:
6
- metadata.gz: d6d3ea87e3f0000abb8d87cecc60c4731d52d2c89ec14e612845e8560e7e0877e576f39ea26ea2762a9f812c96b84e10f33b110bf5974c9355076b792b8f5716
7
- data.tar.gz: 68b28d192237056611ab108cda3b82e17054c1186f5dda76b0ec207703617852050ffeb10c3a59c8c2511df7f0ebfb3807c21a9f505c410cd567bef291f4fba9
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="row">
3
- <div class="col-md-12">
4
- <div class="alert <%= phc_notification(flash_type) %> alert-dismissable fade show" role="alert" id="phcdevworks_notifi_alert">
5
- <button type="button" class="close" data-dismiss="alert" aria-label="Close">
6
- <span aria-hidden="true">&times;</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
- <span aria-hidden="true">&times;</span>
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 borderless"><%= phc_notification_msg %></li>
10
- <li class="list-group-item list-group-item-danger "></li>
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
- <button type="button" class="close" data-dismiss="alert" aria-label="Close">
4
- <span aria-hidden="true">&times;</span>
5
- </button>
6
- <h4 class="text-center"><%= phc_notification_msg %></h4>
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">&times;</span>
5
+ </button>
6
+ <h4 class="text-center"><%= phc_notification_msg %></h4>
7
+ </div>
8
8
  <% end %>
@@ -1,3 +1,3 @@
1
1
  module PhcdevworksNotifications
2
- VERSION = "3.0.0"
2
+ VERSION = "3.1.0"
3
3
  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.0.0
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-02-27 00:00:00.000000000 Z
11
+ date: 2022-03-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails