engine/app/views/layouts/good_job/base.html.erb in good_job-1.9.5 vs engine/app/views/layouts/good_job/base.html.erb in good_job-1.9.6

- old
+ new

@@ -49,9 +49,22 @@ <div class="card-body"> <p class="card-text">🚧 GoodJob's dashboard is a work in progress. Please contribute ideas and code on <a href="https://github.com/bensheldon/good_job/issues" target="_blank" rel="nofollow noopener noreferrer">Github</a>.</p> </div> </div> + <% if notice %> + <div class="alert alert-success alert-dismissible fade show d-flex align-items-center offset-md-3 col-6" role="alert"> + <%= render "shared/icons/check", class: "flex-shrink-0 me-2" %> + <div><%= notice %></div> + <button type="button" class="btn-close" data-bs-dismiss="alert" aria-label="Close"></button> + </div> + <% elsif alert %> + <div class="alert alert-warning alert-dismissible fade show d-flex align-items-center offset-md-3 col-6" role="alert"> + <%= render "shared/icons/check", class: "flex-shrink-0 me-2" %> + <div><%= alert %></div> + <button type="button" class="btn-close" data-bs-dismiss="alert" aria-label="Close"></button> + </div> + <% end %> <%= yield %> </div> </body> </html>