phcdevworks_notifications 0.15.0 → 0.16.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: 0bd3ff6d9b331510a9d7108e7725ab2ae9a03d350a965a5de84d0365ff7ec4a1
4
- data.tar.gz: 71671ae35de6cb96a8f49885ed9d24c93ce4c805aabdceec3f023893ff427dcc
3
+ metadata.gz: 754882a267152833a2a65f49efef854836a8d36d51d8c7977ef1701868a82769
4
+ data.tar.gz: fa7c3a2125e6b3350660fcbafba11bb6c349eca926eed7410f2e4eeff14e969f
5
5
  SHA512:
6
- metadata.gz: ea6e14afd902ac11fb114b7c9df171e0a9d18e135ea9349b19b513d9662d45f2af13bd597278295c572da8b3a23c15898b2a9e6a609fa1edae73264ef73e4293
7
- data.tar.gz: 3106dac95f0d2fb53f415030c8f9b5e2f035c586848210a03be9e3e1f0fcabbdda2ba8b895ffda807503a3a2d339f17938bd6ea19f1d8735f0e15d2422523360
6
+ metadata.gz: 0630c52ead487607ddd5b69d749c58c4f58979caa48cade39374946da4406339f0e6c050c08b358d93dc020ae8cff56f4da0d23674df4ca42edd5391e66fa528
7
+ data.tar.gz: 73d582314ed6307f2cea87a7847ff476a496d3620ad65a0dc7d3e178ce642adf631da9ebb93f7d79d3ccb666cf20cd5c203b0404aab845565ce849c0f8942db4
@@ -1,12 +1,12 @@
1
- <% flash.each do |type, msg| %>
1
+ <% flash.each do |flash_type, phc_notification_msg| %>
2
2
  <div class="row">
3
3
  <div class="col-md-12">
4
4
  <div class="alert <%= phc_notification(flash_type) %> alert-dismissable fade show" role="alert">
5
5
  <button type="button" class="close" data-dismiss="alert" aria-label="Close">
6
6
  <span aria-hidden="true">&times;</span>
7
7
  </button>
8
- <h4 class="text-center"><%= msg %></h4>
8
+ <h4 class="text-center"><%= phc_notification_msg %></h4>
9
9
  </div>
10
10
  </div>
11
11
  </div>
12
- <% end %>
12
+ <% end %>
@@ -1,12 +1,14 @@
1
- <div class="row">
2
- <div class="col-md-12">
3
- <div class="alert alert-outline-<%= phc_notification(flash_type) %> fade show" role="alert">
4
- <div class="alert-text"><%= msg %></div>
5
- <div class="alert-close">
6
- <button type="button" class="close" data-dismiss="alert" aria-label="Close">
7
- <span aria-hidden="true"><i class="la la-close"></i></span>
8
- </button>
1
+ <% flash.each do |flash_type, phc_notification_msg| %>
2
+ <div class="row">
3
+ <div class="col-md-12">
4
+ <div class="alert alert-outline-<%= phc_notification(flash_type) %> fade show" role="alert">
5
+ <div class="alert-text"><%= phc_notification_msg %></div>
6
+ <div class="alert-close">
7
+ <button type="button" class="close" data-dismiss="alert" aria-label="Close">
8
+ <span aria-hidden="true"><i class="la la-close"></i></span>
9
+ </button>
10
+ </div>
9
11
  </div>
10
12
  </div>
11
13
  </div>
12
- </div>
14
+ <% end %>
@@ -1,3 +1,3 @@
1
1
  module PhcdevworksNotifications
2
- VERSION = '0.15.0'
2
+ VERSION = '0.16.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.15.0
4
+ version: 0.16.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-11 00:00:00.000000000 Z
11
+ date: 2019-07-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails