From bd2d36b22cb40b9d8f25e3e0c123a80527f946b3 Mon Sep 17 00:00:00 2001 From: Sparsha Lamichhane Date: Thu, 4 Jan 2024 04:15:25 +0545 Subject: [PATCH] Add "updated at" info in secondary top navbar (#1204) * Ensure "updated at" info is always visible in admin * Put "Last updated" on the right side and other tweaks --------- Co-authored-by: Ben Sheldon [he/him] --- app/views/good_job/shared/_footer.erb | 13 ---- app/views/good_job/shared/_navbar.erb | 2 +- .../good_job/shared/_secondary_navbar.erb | 11 +++ .../layouts/good_job/application.html.erb | 72 +++++++++---------- config/locales/de.yml | 6 +- config/locales/en.yml | 6 +- config/locales/es.yml | 6 +- config/locales/fr.yml | 6 +- config/locales/ja.yml | 6 +- config/locales/nl.yml | 6 +- config/locales/ru.yml | 6 +- config/locales/tr.yml | 6 +- config/locales/uk.yml | 6 +- spec/system/i18n_spec.rb | 4 +- 14 files changed, 74 insertions(+), 82 deletions(-) delete mode 100644 app/views/good_job/shared/_footer.erb create mode 100644 app/views/good_job/shared/_secondary_navbar.erb diff --git a/app/views/good_job/shared/_footer.erb b/app/views/good_job/shared/_footer.erb deleted file mode 100644 index 4583aca8f..000000000 --- a/app/views/good_job/shared/_footer.erb +++ /dev/null @@ -1,13 +0,0 @@ -
-
-
-
- <%= t(".last_update_html", time: Time.current.utc.iso8601) %> -
- -
- <%= t(".wording") %> -
-
-
-
diff --git a/app/views/good_job/shared/_navbar.erb b/app/views/good_job/shared/_navbar.erb index 65506266c..447db2643 100644 --- a/app/views/good_job/shared/_navbar.erb +++ b/app/views/good_job/shared/_navbar.erb @@ -1,4 +1,4 @@ -