mirror of
https://github.com/SrIzan10/hc-harbor.git
synced 2026-05-01 10:45:21 +00:00
add "back to app" to GoodJob (#93)
This commit is contained in:
11
app/views/good_job/shared/_secondary_navbar.erb
Normal file
11
app/views/good_job/shared/_secondary_navbar.erb
Normal file
@@ -0,0 +1,11 @@
|
||||
<nav class="navbar p-1 shadow-sm mt-auto border-bottom text-muted small" id="secondary-navbar" data-live-poll-region="secondary-navbar">
|
||||
<div class="container-fluid">
|
||||
<div class="flex-fill d-none d-sm-block ">
|
||||
<%= link_to '<– back to app', '/' %> – you're doing a great job ^w^
|
||||
</div>
|
||||
<div class="flex-fill text-end">
|
||||
<% last_updated_at = Time.current.utc.iso8601 %>
|
||||
<%= t(".last_updated") %> <time id="page-updated-at" datetime="<%= last_updated_at %>"><%= last_updated_at %></time>
|
||||
</div>
|
||||
</div>
|
||||
</nav>
|
||||
Reference in New Issue
Block a user