This commit is contained in:
parent
d3aaff75cf
commit
0975fbb740
2 changed files with 3 additions and 2 deletions
|
|
@ -11,13 +11,13 @@
|
||||||
<%= javascript_include_tag "application", "data-turbo-track": "reload", type: "module" %>
|
<%= javascript_include_tag "application", "data-turbo-track": "reload", type: "module" %>
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body class="">
|
<body class="d-flex flex-column min-vh-100">
|
||||||
<%= render partial: "layouts/sidebar" %>
|
<%= render partial: "layouts/sidebar" %>
|
||||||
<%= render partial: "layouts/navigation" %>
|
<%= render partial: "layouts/navigation" %>
|
||||||
<%= render partial: "layouts/flash" %>
|
<%= render partial: "layouts/flash" %>
|
||||||
<main class="mt-3 container">
|
<main class="mt-3 container">
|
||||||
<%= yield %>
|
<%= yield %>
|
||||||
</main>
|
</main>
|
||||||
<footer class="mt-3">Version: <%= l(File.mtime(Rails.root.join(".build_version")), format: :short) %>
|
<footer class="container mt-auto"><%= Rails.configuration.build_version && "Version: #{Rails.configuration.build_version}" %>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|
|
||||||
|
|
@ -35,5 +35,6 @@ module A11yist
|
||||||
#
|
#
|
||||||
config.time_zone = "Europe/Zurich"
|
config.time_zone = "Europe/Zurich"
|
||||||
# config.eager_load_paths << Rails.root.join("extras")
|
# config.eager_load_paths << Rails.root.join("extras")
|
||||||
|
config.build_version = (File.read(Rails.root.join(".build_version")) || "-").freeze
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue