Sha256: 2fa0dd9e0ef2e0a9d872f09b089b4e1c6681702091d5f7539b453d08cbda1f3e
Contents?: true
Size: 1.17 KB
Versions: 6
Compression:
Stored size: 1.17 KB
Contents
<% @page_heading = _('Database migration') %> <div id="settings"> <div id="gensettings" class="set" style="margin-top:10px;"> <h3><%= _("Information")%></h3> <p> <label><%= _("Current database version")%>:</label> <span class="db_version"><%= @current_version %></span> </p> <p> <label><%= _("New database version")%>:</label> <span class="db_version"><%= @needed_version %></span> </p> <p> <label><%= _("Your database supports migrations")%>:</label> <span class="db_version"><%= @support ? _('yes') : _('no') %></span> </p> </div> <% unless @needed_migrations.blank? %> <div id="gensettings" class="set" style="margin-top:10px;"> <h3><%= _("Needed migrations")%></h3> <ul> <% for migration in @needed_migrations %> <li><%= migration.humanize %></li> <% end %> </ul> </div> <% end %> </div> <% form_tag :action => 'migrate' do %> <div id="operations" class="paginate l"> <% if @current_version == @needed_version %> <strong><%= _("You are up to date!")%></strong> <% else %> <%= save(_("Update database now")) %> <small><%= _("may take a moment")%></small> <% end %> </div> <% end %>
Version data entries
6 entries across 6 versions & 1 rubygems