phcdevworks_notifications 0.17.0 → 0.18.0

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: a755f3fe4e090d63d524869a6c0e15dfe8954f4a533008d0cb14dbf606575ced
4
- data.tar.gz: 274b7fd59da41de152e860c65bc8daed7fe65749eaa4b80c7794d0d792099b0b
3
+ metadata.gz: 8b9834165b747204192f2c366d28cdc25d6617b2209edc81fc3d93d966a44908
4
+ data.tar.gz: 0da060df54c881f74e224289623826ae27cb579589b3288686205242dc161fdd
5
5
  SHA512:
6
- metadata.gz: 88b249093c09a2059a0bd62a7805bd1e8bb7bb13fbf59874c7dcee62b977de0e7dee215d1f82230ad81c451e0eb780a51121498a1bf412926c5d620ad358669d
7
- data.tar.gz: bc782627c363217f903a0c1f4a82b2b6f91dbcc5fed87631ddd95cff73e55aa17dd9957309f93452bc943aac61f79462070a1ed558dc2f0a3840a51d8179c09e
6
+ metadata.gz: b45d55f8fb7bf027a8e979877e11971e97f7c19cb93538ae2bfdac241e70ef7a2f67789c2d35b5282b96fc3a1d1f9c4e62276109a0303b6754f71774f93fd84b
7
+ data.tar.gz: 446635aac189750cc5f5c982b52771cd4cebdd2a3e36cc54424167f522f992d779cc92af2f53c2a396131fd287e0e725eeadde4d1e95ef6924420683b6ea505a
@@ -1,7 +1,8 @@
1
1
  <% flash.each do |flash_type, phc_notification_msg| %>
2
2
  <div class="row">
3
- <div class="col-md-12">
4
- <div class="alert alert-outline-<%= phc_notification(flash_type) %> fade show" role="alert">
3
+ <div class="col-md-12">
4
+ <div class="alert <%= phc_notification(flash_type) %> fade show" role="alert">
5
+ <!-- <div class="alert-icon"><i class="flaticon-<%= phc_notification(flash_type) %>"></i></div> -->
5
6
  <div class="alert-text"><%= phc_notification_msg %></div>
6
7
  <div class="alert-close">
7
8
  <button type="button" class="close" data-dismiss="alert" aria-label="Close">
@@ -1,11 +1,11 @@
1
1
  <% if object.errors.any? %>
2
2
  <div class="alert alert-outline-danger fade show" role="alert">
3
- <div class="alert-icon"><i class="flaticon-questions-circular-button"></i></div>
4
- <h4 class="alert-heading">The form contains <%= pluralize(object.errors.count, "error") %>.</h4>
5
3
  <div class="alert-text">
4
+ <h4 class="alert-heading text-center">The form contains <%= pluralize(object.errors.count, "error") %>.</h4>
5
+ <br>
6
6
  <ul class="list-group">
7
7
  <% object.errors.full_messages.each do |phc_notification_msg| %>
8
- <li class="list-group-item list-group-item-danger borderless"><%= phc_notification_msg %></li>
8
+ <li class="list-group-item"><%= phc_notification_msg %></li>
9
9
  <% end %>
10
10
  </ul>
11
11
  </div>
@@ -1,3 +1,3 @@
1
1
  module PhcdevworksNotifications
2
- VERSION = '0.17.0'
2
+ VERSION = '0.18.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: 0.17.0
4
+ version: 0.18.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - PHCDevworks
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-07-12 00:00:00.000000000 Z
11
+ date: 2019-07-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails