From df9d18a21f8b9fd01a42ed43b73b3d122d78320f Mon Sep 17 00:00:00 2001 From: Claudio Ortolina Date: Fri, 29 Nov 2024 08:33:29 +0000 Subject: [PATCH] Add nav link to dev dashboard Invisible on mobile portrait layout - visible if device is turned to landscape. Reasoning is that the dev dashboard is pretty unusable in portrait mode anyway. --- lib/music_library_web/components/layouts/app.html.heex | 3 +++ priv/gettext/default.pot | 7 ++++++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/lib/music_library_web/components/layouts/app.html.heex b/lib/music_library_web/components/layouts/app.html.heex index ddb0d136..0c569472 100644 --- a/lib/music_library_web/components/layouts/app.html.heex +++ b/lib/music_library_web/components/layouts/app.html.heex @@ -21,6 +21,9 @@
+ + <%= gettext("Dev dashboard") %> + <%= gettext("Logout") %> diff --git a/priv/gettext/default.pot b/priv/gettext/default.pot index 9d483742..59448d6e 100644 --- a/priv/gettext/default.pot +++ b/priv/gettext/default.pot @@ -143,7 +143,7 @@ msgstr "" msgid "Login" msgstr "" -#: lib/music_library_web/components/layouts/app.html.heex:25 +#: lib/music_library_web/components/layouts/app.html.heex:28 #, elixir-autogen, elixir-format msgid "Logout" msgstr "" @@ -468,3 +468,8 @@ msgstr "" #, elixir-autogen, elixir-format msgid "Made by" msgstr "" + +#: lib/music_library_web/components/layouts/app.html.heex:25 +#, elixir-autogen, elixir-format +msgid "Dev dashboard" +msgstr ""