aboutsummaryrefslogtreecommitdiff
path: root/app/views/govuk_guix
diff options
context:
space:
mode:
authorChristopher Baines <mail@cbaines.net>2018-03-16 08:51:54 +0000
committerChristopher Baines <mail@cbaines.net>2018-03-29 07:55:01 +0100
commit051c8bf612126fa79699c8bf45a661dde127f4a0 (patch)
tree849a3b05b4ab4b59a426761d7cf1da3cc7036349 /app/views/govuk_guix
parenta8c8f68971dd9e20dee01d9f65c64283e41fe4a3 (diff)
downloadgovuk-mini-environment-admin-051c8bf612126fa79699c8bf45a661dde127f4a0.tar
govuk-mini-environment-admin-051c8bf612126fa79699c8bf45a661dde127f4a0.tar.gz
Add backend controllers, models and views
Also annotate existing models.
Diffstat (limited to 'app/views/govuk_guix')
-rw-r--r--app/views/govuk_guix/revisions/index.html.erb10
-rw-r--r--app/views/govuk_guix/revisions/show.html.erb5
2 files changed, 5 insertions, 10 deletions
diff --git a/app/views/govuk_guix/revisions/index.html.erb b/app/views/govuk_guix/revisions/index.html.erb
deleted file mode 100644
index 54f9e4a..0000000
--- a/app/views/govuk_guix/revisions/index.html.erb
+++ /dev/null
@@ -1,10 +0,0 @@
-
-<% GovukGuix::Revision.all.each do |revision| %>
-
- <div>
-
- <%= revision.inspect %>
-
- </div>
-
-<% end %>
diff --git a/app/views/govuk_guix/revisions/show.html.erb b/app/views/govuk_guix/revisions/show.html.erb
new file mode 100644
index 0000000..5f2b70d
--- /dev/null
+++ b/app/views/govuk_guix/revisions/show.html.erb
@@ -0,0 +1,5 @@
+<a href="<%= setup_path %>" class="btn btn-lg btn-primary pull-right">
+ Back to Setup
+</a>
+
+<h1>Revision: <%= @revision.commit_hash %></h1>