aboutsummaryrefslogtreecommitdiff
path: root/app/views/setup/show.html.erb
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/setup/show.html.erb')
-rw-r--r--app/views/setup/show.html.erb24
1 files changed, 24 insertions, 0 deletions
diff --git a/app/views/setup/show.html.erb b/app/views/setup/show.html.erb
index 172508e..01b1f32 100644
--- a/app/views/setup/show.html.erb
+++ b/app/views/setup/show.html.erb
@@ -44,6 +44,30 @@ License along with the GOV.UK Mini Environment Admin. If not, see
</div>
<% end %>
+<h1>Data Snapshots</h1>
+
+<table class="table">
+ <thead>
+ <tr>
+ <th>Description</th>
+ <th>Backend</th>
+ </tr>
+ </thead>
+ <tbody>
+ <% GovukGuix::DataSnapshot.order(id: :desc).each do |data_snapshot| %>
+ <tr>
+ <td>
+ <%= data_snapshot.description %>
+ </td>
+ <td>
+ <%= data_snapshot.backend.try(:class).try(:label) %>:
+ <%= data_snapshot.backend.try(:label) %>
+ </td>
+ </tr>
+ <% end %>
+ </tbody>
+</table>
+
<h1>Revisions</h1>
<%= form_with(url: enqueue_fetch_govuk_guix_revision_path,