Sha256: 2b0310332f94969457144f607829b47c558f576ab652732df8795cb5c51acda1
Contents?: true
Size: 1.17 KB
Versions: 4
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="tasks"> <% 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
4 entries across 4 versions & 1 rubygems