aboutsummaryrefslogtreecommitdiff
path: root/app/views
diff options
context:
space:
mode:
Diffstat (limited to 'app/views')
-rw-r--r--app/views/application/_version.html.erb3
-rw-r--r--app/views/layouts/application.html.erb4
2 files changed, 6 insertions, 1 deletions
diff --git a/app/views/application/_version.html.erb b/app/views/application/_version.html.erb
new file mode 100644
index 0000000..616cb82
--- /dev/null
+++ b/app/views/application/_version.html.erb
@@ -0,0 +1,3 @@
+<div class="app-version" title="This is free software: you can access and acquire the source code">
+ version <span><%= version_link %></span>
+</div>
diff --git a/app/views/layouts/application.html.erb b/app/views/layouts/application.html.erb
index bc02585..bfdf530 100644
--- a/app/views/layouts/application.html.erb
+++ b/app/views/layouts/application.html.erb
@@ -8,7 +8,7 @@
<%= csp_meta_tag %>
<%= display_meta_tags site: 'IN COMMON Map' %>
- <%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track': 'reload' %>
+ <%= stylesheet_pack_tag 'application', media: 'all', 'data-turbolinks-track': 'reload' %>
<%= javascript_pack_tag 'application', 'data-turbolinks-track': 'reload' %>
<%= yield :head %>
</head>
@@ -28,6 +28,8 @@
<%= yield :aside %>
</aside>
<footer>
+ <hr>
+ <%= render partial: "application/version" %>
<%= yield :footer %>
</footer>
<%= render partial: 'debug' %>