Sha256: 993675ec0344fff5196381d39bca9ef2c3d5a63225d34aabbad7c67d134bbc36

Contents?: true

Size: 1.2 KB

Versions: 1

Compression:

Stored size: 1.2 KB

Contents

 <% @page_heading = _('Database migration') %>
 <% subtabs_for(:settings) %>

<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

1 entries across 1 versions & 1 rubygems

Version Path
typo-5.1.3 app/views/admin/settings/update_database.html.erb