Better toasts. Add pg service in travis.

This commit is contained in:
dlage committed 2020-08-20 12:28:05 +01:00
1 parent 0125eadc38
commit e77691d960
8 files changed
+149 -30

No files matched your search

+1 -8
View File
@@ -10,15 +10,8 @@
</head>
<body>
<% unless flash.empty? %>
<script type="text/javascript">
<% flash.each do |f| %>
<% type = f[0].to_s.gsub('alert', 'error').gsub('notice', 'info') %>
toastr['<%= type %>']('<%= f[1] %>');
<% end %>
</script>
<% end %>
<%= render 'layouts/toasts' %>
<%= render 'layouts/top_navigation' %>
<%= render 'layouts/content' %>
<%= render 'layouts/footer' %>