Sha256: 243b25e735a51a18227b8e09986885780b273f8b8fb760ed39292946182be306

Contents?: true

Size: 489 Bytes

Versions: 12

Compression:

Stored size: 489 Bytes

Contents

<%- 
  schema_warning = false
  if File.exist?(Rails.root.join("tmp/schema_timestamp.txt").to_s)
    current_timestamp = File.read(Rails.root.join("tmp/schema_timestamp.txt").to_s)
    if current_timestamp != GEOMG_SCHEMA_TIMESTAMP
      schema_warning = true
    end
  end
%>

<%- if schema_warning %>
  <div class="alert alert-danger" role="alert">
    <strong>Warning:</strong> The project's metadata schema has changed. You need to restart the application server.
  </div>
<%- end %>

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
geoblacklight_admin-0.6.0 app/views/admin/shared/_schema_timestamp.html.erb
geoblacklight_admin-0.5.1 app/views/admin/shared/_schema_timestamp.html.erb
geoblacklight_admin-0.5.0 app/views/admin/shared/_schema_timestamp.html.erb
geoblacklight_admin-0.4.2 app/views/admin/shared/_schema_timestamp.html.erb
geoblacklight_admin-0.4.1 app/views/admin/shared/_schema_timestamp.html.erb
geoblacklight_admin-0.4.0 app/views/admin/shared/_schema_timestamp.html.erb
geoblacklight_admin-0.3.2 app/views/admin/shared/_schema_timestamp.html.erb
geoblacklight_admin-0.3.1 app/views/admin/shared/_schema_timestamp.html.erb
geoblacklight_admin-0.3.0 app/views/admin/shared/_schema_timestamp.html.erb
geoblacklight_admin-0.2.1 app/views/admin/shared/_schema_timestamp.html.erb
geoblacklight_admin-0.1.0 app/views/admin/shared/_schema_timestamp.html.erb
geoblacklight_admin-0.0.1 app/views/admin/shared/_schema_timestamp.html.erb