Sha256: 6648ae508e5dca11a2a0ef58e3156000d944ccd525bc1a6527afd29363c453c0
Contents?: true
Size: 1.03 KB
Versions: 1
Compression:
Stored size: 1.03 KB
Contents
<% content_for :page_heading do %> <h2> <%= t('.database_migration') %> </h2> <% end %> <div class='alert alert-warning'> <h3><%= t('.information') %></h3> <p> <strong><%= t('.current_database_version') %>:</strong> <%= @current_version %> </p> <% unless @needed_migrations.blank? %> <p> <strong><%= t('.migrations') %>:</strong> <%= t('.migration_pending', count: @needed_migrations.count) %> </p> <p><%= t('.needed_migrations') %>:</p> <ul> <% for migration in @needed_migrations %> <li><%= migration.name %></li> <% end %> </ul> <% end %> <div class='alert-actions'> <%= form_tag admin_migrations_path do %> <% if @needed_migrations.blank? %> <div class='info'> <p><strong><%= t('.you_are_up_to_date') %></strong></p> </div> <% else %> <hr> <%= submit_tag(t('.update_database_now'), class: 'btn btn-success') %> <small><%= t('.may_take_a_moment') %></small> <% end %> <% end %> </div> </div>
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
publify_core-10.0.2 | app/views/admin/migrations/show.html.erb |