Sha256: 4696ae57b4f74d4f3bcbff98d8f9c79922f15db41cf4accffa6e6812021724d5

Contents?: true

Size: 674 Bytes

Versions: 25

Compression:

Stored size: 674 Bytes

Contents

<div class="text-red-500 p-3 font-mono my-5">
  <% unavailable_extensions.each do |extension, queries| %>
    WARNING: Queries <%= queries.map { |q| "<b><u>#{q}</u></b>" }.join(", ").html_safe %> require extension: <b><%= extension %></b>
    <br>
  <% end %>
 </div>

<% if RailsPgExtras::Web.action_enabled?(:add_extensions) %>
  <%= link_to "Enable extensions", add_extensions_action_path,
    method: "post",
    data: {
      confirm: "This command will enable following extensions: #{unavailable_extensions.keys.join(', ')}. Do you want to proceeed?"
    }, class: 'border p-3 bg-green-500 text-white hover:bg-green-600 font-bold rounded' %>
<% end %>

Version data entries

25 entries across 25 versions & 1 rubygems

Version Path
rails-pg-extras-5.3.1 app/views/rails_pg_extras/web/queries/_unavailable_extensions_warning.html.erb
rails-pg-extras-5.3.0 app/views/rails_pg_extras/web/queries/_unavailable_extensions_warning.html.erb
rails-pg-extras-5.2.5 app/views/rails_pg_extras/web/queries/_unavailable_extensions_warning.html.erb
rails-pg-extras-5.2.4 app/views/rails_pg_extras/web/queries/_unavailable_extensions_warning.html.erb
rails-pg-extras-5.2.3 app/views/rails_pg_extras/web/queries/_unavailable_extensions_warning.html.erb
rails-pg-extras-5.2.2 app/views/rails_pg_extras/web/queries/_unavailable_extensions_warning.html.erb
rails-pg-extras-5.2.1 app/views/rails_pg_extras/web/queries/_unavailable_extensions_warning.html.erb
rails-pg-extras-5.2.0 app/views/rails_pg_extras/web/queries/_unavailable_extensions_warning.html.erb
rails-pg-extras-5.1.0 app/views/rails_pg_extras/web/queries/_unavailable_extensions_warning.html.erb
rails-pg-extras-5.0.0 app/views/rails_pg_extras/web/queries/_unavailable_extensions_warning.html.erb
rails-pg-extras-4.13.0 app/views/rails_pg_extras/web/queries/_unavailable_extensions_warning.html.erb
rails-pg-extras-4.12.2 app/views/rails_pg_extras/web/queries/_unavailable_extensions_warning.html.erb
rails-pg-extras-4.12.1 app/views/rails_pg_extras/web/queries/_unavailable_extensions_warning.html.erb
rails-pg-extras-4.12.0 app/views/rails_pg_extras/web/queries/_unavailable_extensions_warning.html.erb
rails-pg-extras-4.10.0 app/views/rails_pg_extras/web/queries/_unavailable_extensions_warning.html.erb
rails-pg-extras-4.9.0 app/views/rails_pg_extras/web/queries/_unavailable_extensions_warning.html.erb
rails-pg-extras-4.8.1 app/views/rails_pg_extras/web/queries/_unavailable_extensions_warning.html.erb
rails-pg-extras-4.7.2 app/views/rails_pg_extras/web/queries/_unavailable_extensions_warning.html.erb
rails-pg-extras-4.7.1 app/views/rails_pg_extras/web/queries/_unavailable_extensions_warning.html.erb
rails-pg-extras-4.7.0 app/views/rails_pg_extras/web/queries/_unavailable_extensions_warning.html.erb