phcdevworks_notifications 0.11.0 → 0.12.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: 0fdc275a9d6dd05b2a9c01c96cd51a78ae032b7d367dfd5e4b104009b601b1aa
4
- data.tar.gz: 0a53624fb6db3ba0eb5911759a16f25920b95b4b77c03e6ae28ceb0281b207b2
3
+ metadata.gz: 52cfdbbc3ccc431b470001d63f5257001cb34d50d74622120dbfbf423788c435
4
+ data.tar.gz: 82b759b959f7cc4255f8fbc749bb1c93bf44cbb6085508f7a8e4c2c72df6eb3c
5
5
  SHA512:
6
- metadata.gz: 7d4d15876344fefcd2c59cf1d5a3657261a1103464f6ac25f94505493c583ecd4c37526f786297a8fed22ddd327be9bf4e55c9e87b5c0c6b5092e01c556713ca
7
- data.tar.gz: e0a1366aa68f90972637954f83fca7347f49c4f88320d07631eb6681e19e28c0ba47117f3d1959f344bf649377e14dafae3550ef7502f417f0ca2ad8bb5dab8c
6
+ metadata.gz: 4d997974ab4ea6b336eb62a938b065906cdc2bc43c9faae4723f079dfcb1fa7eecdc40641e972d85b0edb6b60642002d49a5644cf06fdc188fb893f81b590924
7
+ data.tar.gz: 2c8ca9a8e1dec642ea7ae46dc982f85be5bbe941ace64d92671bbcbecbb903c6945cf7435237b45c726eab9368cc3afa49851b092177f8a80b1a02a527667e5c
@@ -0,0 +1,12 @@
1
+ <div class="row">
2
+ <div class="col-md-12">
3
+ <div class="alert alert-outline-<%= phc_notification(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>
9
+ </div>
10
+ </div>
11
+ </div>
12
+ </div>
@@ -0,0 +1,18 @@
1
+ <% if object.errors.any? %>
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
+ <div class="alert-text">
6
+ <ul class="list-group">
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>
9
+ <% end %>
10
+ </ul>
11
+ </div>
12
+ <div class="alert-close">
13
+ <button type="button" class="close" data-dismiss="alert" aria-label="Close">
14
+ <span aria-hidden="true"><i class="la la-close"></i></span>
15
+ </button>
16
+ </div>
17
+ </div>
18
+ <% end %>
@@ -1,3 +1,3 @@
1
1
  module PhcdevworksNotifications
2
- VERSION = '0.11.0'
2
+ VERSION = '0.12.0'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: phcdevworks_notifications
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.11.0
4
+ version: 0.12.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - PHCDevworks
@@ -87,6 +87,8 @@ files:
87
87
  - app/views/layouts/phcdevworks_notifications/application.html.erb
88
88
  - app/views/phcdevworks_notifications/bootstrap/_notifications.html.erb
89
89
  - app/views/phcdevworks_notifications/bootstrap/_validations.html.erb
90
+ - app/views/phcdevworks_notifications/metronic/_notifications.html.erb
91
+ - app/views/phcdevworks_notifications/metronic/_validations.html.erb
90
92
  - lib/phcdevworks_notifications.rb
91
93
  - lib/phcdevworks_notifications/engine.rb
92
94
  - lib/phcdevworks_notifications/version.rb