From bf91eadd8ed4ea2c43ab6ed5b3a4d2be69b2caa0 Mon Sep 17 00:00:00 2001 From: shibao Date: Sun, 19 Mar 2023 00:25:47 -0400 Subject: [PATCH] remove tempting back button --- .../live/context_live/show.html.heex | 3 -- lib/memex_web/live/note_live/show.html.heex | 3 -- .../live/pipeline_live/show.html.heex | 3 -- priv/gettext/actions.pot | 39 ++++++++----------- priv/gettext/de/LC_MESSAGES/actions.po | 39 ++++++++----------- priv/gettext/de/LC_MESSAGES/default.po | 6 +-- priv/gettext/de/LC_MESSAGES/prompts.po | 8 ++-- priv/gettext/default.pot | 6 +-- priv/gettext/en/LC_MESSAGES/actions.po | 39 ++++++++----------- priv/gettext/en/LC_MESSAGES/default.po | 6 +-- priv/gettext/en/LC_MESSAGES/prompts.po | 8 ++-- priv/gettext/prompts.pot | 8 ++-- 12 files changed, 69 insertions(+), 99 deletions(-) diff --git a/lib/memex_web/live/context_live/show.html.heex b/lib/memex_web/live/context_live/show.html.heex index 10045c1..8927bc2 100644 --- a/lib/memex_web/live/context_live/show.html.heex +++ b/lib/memex_web/live/context_live/show.html.heex @@ -20,9 +20,6 @@

- <.link class="btn btn-primary" navigate={Routes.context_index_path(@socket, :index)}> - <%= dgettext("actions", "back") %> - <.link :if={Contexts.is_owner?(@context, @current_user)} class="btn btn-primary" diff --git a/lib/memex_web/live/note_live/show.html.heex b/lib/memex_web/live/note_live/show.html.heex index 5fa12ac..48db384 100644 --- a/lib/memex_web/live/note_live/show.html.heex +++ b/lib/memex_web/live/note_live/show.html.heex @@ -20,9 +20,6 @@

- <.link class="btn btn-primary" navigate={Routes.note_index_path(@socket, :index)}> - <%= dgettext("actions", "back") %> - <.link :if={Notes.is_owner?(@note, @current_user)} class="btn btn-primary" diff --git a/lib/memex_web/live/pipeline_live/show.html.heex b/lib/memex_web/live/pipeline_live/show.html.heex index 4dded3b..a666201 100644 --- a/lib/memex_web/live/pipeline_live/show.html.heex +++ b/lib/memex_web/live/pipeline_live/show.html.heex @@ -28,9 +28,6 @@

- <.link class="btn btn-primary" navigate={Routes.pipeline_index_path(@socket, :index)}> - <%= dgettext("actions", "back") %> - <.link :if={Pipelines.is_owner?(@pipeline, @current_user)} class="btn btn-primary" diff --git a/priv/gettext/actions.pot b/priv/gettext/actions.pot index bcf3146..3616722 100644 --- a/priv/gettext/actions.pot +++ b/priv/gettext/actions.pot @@ -46,12 +46,12 @@ msgid "create invite" msgstr "" #: lib/memex_web/live/context_live/index.html.heex:49 -#: lib/memex_web/live/context_live/show.html.heex:41 +#: lib/memex_web/live/context_live/show.html.heex:38 #: lib/memex_web/live/note_live/index.html.heex:49 -#: lib/memex_web/live/note_live/show.html.heex:41 +#: lib/memex_web/live/note_live/show.html.heex:38 #: lib/memex_web/live/pipeline_live/index.html.heex:51 -#: lib/memex_web/live/pipeline_live/show.html.heex:49 -#: lib/memex_web/live/pipeline_live/show.html.heex:120 +#: lib/memex_web/live/pipeline_live/show.html.heex:46 +#: lib/memex_web/live/pipeline_live/show.html.heex:117 #, elixir-autogen, elixir-format msgid "delete" msgstr "" @@ -62,12 +62,12 @@ msgid "delete user" msgstr "" #: lib/memex_web/live/context_live/index.html.heex:39 -#: lib/memex_web/live/context_live/show.html.heex:31 +#: lib/memex_web/live/context_live/show.html.heex:28 #: lib/memex_web/live/note_live/index.html.heex:39 -#: lib/memex_web/live/note_live/show.html.heex:31 +#: lib/memex_web/live/note_live/show.html.heex:28 #: lib/memex_web/live/pipeline_live/index.html.heex:39 -#: lib/memex_web/live/pipeline_live/show.html.heex:39 -#: lib/memex_web/live/pipeline_live/show.html.heex:109 +#: lib/memex_web/live/pipeline_live/show.html.heex:36 +#: lib/memex_web/live/pipeline_live/show.html.heex:106 #, elixir-autogen, elixir-format msgid "edit" msgstr "" @@ -123,14 +123,7 @@ msgstr "" msgid "save" msgstr "" -#: lib/memex_web/live/context_live/show.html.heex:24 -#: lib/memex_web/live/note_live/show.html.heex:24 -#: lib/memex_web/live/pipeline_live/show.html.heex:32 -#, elixir-autogen, elixir-format -msgid "back" -msgstr "" - -#: lib/memex_web/live/pipeline_live/show.html.heex:135 +#: lib/memex_web/live/pipeline_live/show.html.heex:132 #, elixir-autogen, elixir-format msgid "add step" msgstr "" @@ -163,24 +156,24 @@ msgid "copy invite link for %{invite_name}" msgstr "" #: lib/memex_web/live/context_live/index.html.heex:47 -#: lib/memex_web/live/context_live/show.html.heex:39 +#: lib/memex_web/live/context_live/show.html.heex:36 #, elixir-autogen, elixir-format msgid "delete %{context_slug}" msgstr "" #: lib/memex_web/live/note_live/index.html.heex:47 -#: lib/memex_web/live/note_live/show.html.heex:39 +#: lib/memex_web/live/note_live/show.html.heex:36 #, elixir-autogen, elixir-format msgid "delete %{note_slug}" msgstr "" #: lib/memex_web/live/pipeline_live/index.html.heex:48 -#: lib/memex_web/live/pipeline_live/show.html.heex:47 +#: lib/memex_web/live/pipeline_live/show.html.heex:44 #, elixir-autogen, elixir-format msgid "delete %{pipeline_slug}" msgstr "" -#: lib/memex_web/live/pipeline_live/show.html.heex:118 +#: lib/memex_web/live/pipeline_live/show.html.heex:115 #, elixir-autogen, elixir-format msgid "delete %{step_title}" msgstr "" @@ -205,7 +198,7 @@ msgstr "" msgid "edit %{pipeline_slug}" msgstr "" -#: lib/memex_web/live/pipeline_live/show.html.heex:107 +#: lib/memex_web/live/pipeline_live/show.html.heex:104 #, elixir-autogen, elixir-format msgid "edit %{step_title}" msgstr "" @@ -215,12 +208,12 @@ msgstr "" msgid "edit invite for %{invite_name}" msgstr "" -#: lib/memex_web/live/pipeline_live/show.html.heex:97 +#: lib/memex_web/live/pipeline_live/show.html.heex:94 #, elixir-autogen, elixir-format msgid "move %{step_title} down" msgstr "" -#: lib/memex_web/live/pipeline_live/show.html.heex:81 +#: lib/memex_web/live/pipeline_live/show.html.heex:78 #, elixir-autogen, elixir-format msgid "move %{step_title} up" msgstr "" diff --git a/priv/gettext/de/LC_MESSAGES/actions.po b/priv/gettext/de/LC_MESSAGES/actions.po index a7a0a8f..2600941 100644 --- a/priv/gettext/de/LC_MESSAGES/actions.po +++ b/priv/gettext/de/LC_MESSAGES/actions.po @@ -46,12 +46,12 @@ msgid "create invite" msgstr "" #: lib/memex_web/live/context_live/index.html.heex:49 -#: lib/memex_web/live/context_live/show.html.heex:41 +#: lib/memex_web/live/context_live/show.html.heex:38 #: lib/memex_web/live/note_live/index.html.heex:49 -#: lib/memex_web/live/note_live/show.html.heex:41 +#: lib/memex_web/live/note_live/show.html.heex:38 #: lib/memex_web/live/pipeline_live/index.html.heex:51 -#: lib/memex_web/live/pipeline_live/show.html.heex:49 -#: lib/memex_web/live/pipeline_live/show.html.heex:120 +#: lib/memex_web/live/pipeline_live/show.html.heex:46 +#: lib/memex_web/live/pipeline_live/show.html.heex:117 #, elixir-autogen, elixir-format msgid "delete" msgstr "" @@ -62,12 +62,12 @@ msgid "delete user" msgstr "" #: lib/memex_web/live/context_live/index.html.heex:39 -#: lib/memex_web/live/context_live/show.html.heex:31 +#: lib/memex_web/live/context_live/show.html.heex:28 #: lib/memex_web/live/note_live/index.html.heex:39 -#: lib/memex_web/live/note_live/show.html.heex:31 +#: lib/memex_web/live/note_live/show.html.heex:28 #: lib/memex_web/live/pipeline_live/index.html.heex:39 -#: lib/memex_web/live/pipeline_live/show.html.heex:39 -#: lib/memex_web/live/pipeline_live/show.html.heex:109 +#: lib/memex_web/live/pipeline_live/show.html.heex:36 +#: lib/memex_web/live/pipeline_live/show.html.heex:106 #, elixir-autogen, elixir-format msgid "edit" msgstr "" @@ -123,14 +123,7 @@ msgstr "" msgid "save" msgstr "" -#: lib/memex_web/live/context_live/show.html.heex:24 -#: lib/memex_web/live/note_live/show.html.heex:24 -#: lib/memex_web/live/pipeline_live/show.html.heex:32 -#, elixir-autogen, elixir-format -msgid "back" -msgstr "" - -#: lib/memex_web/live/pipeline_live/show.html.heex:135 +#: lib/memex_web/live/pipeline_live/show.html.heex:132 #, elixir-autogen, elixir-format msgid "add step" msgstr "" @@ -163,24 +156,24 @@ msgid "copy invite link for %{invite_name}" msgstr "" #: lib/memex_web/live/context_live/index.html.heex:47 -#: lib/memex_web/live/context_live/show.html.heex:39 +#: lib/memex_web/live/context_live/show.html.heex:36 #, elixir-autogen, elixir-format msgid "delete %{context_slug}" msgstr "" #: lib/memex_web/live/note_live/index.html.heex:47 -#: lib/memex_web/live/note_live/show.html.heex:39 +#: lib/memex_web/live/note_live/show.html.heex:36 #, elixir-autogen, elixir-format msgid "delete %{note_slug}" msgstr "" #: lib/memex_web/live/pipeline_live/index.html.heex:48 -#: lib/memex_web/live/pipeline_live/show.html.heex:47 +#: lib/memex_web/live/pipeline_live/show.html.heex:44 #, elixir-autogen, elixir-format msgid "delete %{pipeline_slug}" msgstr "" -#: lib/memex_web/live/pipeline_live/show.html.heex:118 +#: lib/memex_web/live/pipeline_live/show.html.heex:115 #, elixir-autogen, elixir-format msgid "delete %{step_title}" msgstr "" @@ -205,7 +198,7 @@ msgstr "" msgid "edit %{pipeline_slug}" msgstr "" -#: lib/memex_web/live/pipeline_live/show.html.heex:107 +#: lib/memex_web/live/pipeline_live/show.html.heex:104 #, elixir-autogen, elixir-format msgid "edit %{step_title}" msgstr "" @@ -215,12 +208,12 @@ msgstr "" msgid "edit invite for %{invite_name}" msgstr "" -#: lib/memex_web/live/pipeline_live/show.html.heex:97 +#: lib/memex_web/live/pipeline_live/show.html.heex:94 #, elixir-autogen, elixir-format msgid "move %{step_title} down" msgstr "" -#: lib/memex_web/live/pipeline_live/show.html.heex:81 +#: lib/memex_web/live/pipeline_live/show.html.heex:78 #, elixir-autogen, elixir-format msgid "move %{step_title} up" msgstr "" diff --git a/priv/gettext/de/LC_MESSAGES/default.po b/priv/gettext/de/LC_MESSAGES/default.po index f8b0d1d..c6dc8f5 100644 --- a/priv/gettext/de/LC_MESSAGES/default.po +++ b/priv/gettext/de/LC_MESSAGES/default.po @@ -434,7 +434,7 @@ msgstr "" msgid "what is this?" msgstr "" -#: lib/memex_web/live/pipeline_live/show.html.heex:67 +#: lib/memex_web/live/pipeline_live/show.html.heex:64 #, elixir-autogen, elixir-format msgid "%{position}. %{title}" msgstr "" @@ -459,12 +459,12 @@ msgstr "" msgid "add step to %{slug}" msgstr "" -#: lib/memex_web/live/pipeline_live/show.html.heex:61 +#: lib/memex_web/live/pipeline_live/show.html.heex:58 #, elixir-autogen, elixir-format msgid "no steps" msgstr "" -#: lib/memex_web/live/pipeline_live/show.html.heex:56 +#: lib/memex_web/live/pipeline_live/show.html.heex:53 #, elixir-autogen, elixir-format msgid "steps:" msgstr "" diff --git a/priv/gettext/de/LC_MESSAGES/prompts.po b/priv/gettext/de/LC_MESSAGES/prompts.po index dfe9d66..177294d 100644 --- a/priv/gettext/de/LC_MESSAGES/prompts.po +++ b/priv/gettext/de/LC_MESSAGES/prompts.po @@ -81,12 +81,12 @@ msgid "are you sure you want to make %{invite_name} unlimited?" msgstr "" #: lib/memex_web/live/context_live/index.html.heex:46 -#: lib/memex_web/live/context_live/show.html.heex:38 +#: lib/memex_web/live/context_live/show.html.heex:35 #: lib/memex_web/live/note_live/index.html.heex:46 -#: lib/memex_web/live/note_live/show.html.heex:38 +#: lib/memex_web/live/note_live/show.html.heex:35 #: lib/memex_web/live/pipeline_live/index.html.heex:46 -#: lib/memex_web/live/pipeline_live/show.html.heex:46 -#: lib/memex_web/live/pipeline_live/show.html.heex:117 +#: lib/memex_web/live/pipeline_live/show.html.heex:43 +#: lib/memex_web/live/pipeline_live/show.html.heex:114 #, elixir-autogen, elixir-format msgid "are you sure?" msgstr "" diff --git a/priv/gettext/default.pot b/priv/gettext/default.pot index 2d2c93d..3c7f185 100644 --- a/priv/gettext/default.pot +++ b/priv/gettext/default.pot @@ -432,7 +432,7 @@ msgstr "" msgid "what is this?" msgstr "" -#: lib/memex_web/live/pipeline_live/show.html.heex:67 +#: lib/memex_web/live/pipeline_live/show.html.heex:64 #, elixir-autogen, elixir-format msgid "%{position}. %{title}" msgstr "" @@ -457,12 +457,12 @@ msgstr "" msgid "add step to %{slug}" msgstr "" -#: lib/memex_web/live/pipeline_live/show.html.heex:61 +#: lib/memex_web/live/pipeline_live/show.html.heex:58 #, elixir-autogen, elixir-format msgid "no steps" msgstr "" -#: lib/memex_web/live/pipeline_live/show.html.heex:56 +#: lib/memex_web/live/pipeline_live/show.html.heex:53 #, elixir-autogen, elixir-format msgid "steps:" msgstr "" diff --git a/priv/gettext/en/LC_MESSAGES/actions.po b/priv/gettext/en/LC_MESSAGES/actions.po index 3a576bd..2a44a8e 100644 --- a/priv/gettext/en/LC_MESSAGES/actions.po +++ b/priv/gettext/en/LC_MESSAGES/actions.po @@ -47,12 +47,12 @@ msgid "create invite" msgstr "" #: lib/memex_web/live/context_live/index.html.heex:49 -#: lib/memex_web/live/context_live/show.html.heex:41 +#: lib/memex_web/live/context_live/show.html.heex:38 #: lib/memex_web/live/note_live/index.html.heex:49 -#: lib/memex_web/live/note_live/show.html.heex:41 +#: lib/memex_web/live/note_live/show.html.heex:38 #: lib/memex_web/live/pipeline_live/index.html.heex:51 -#: lib/memex_web/live/pipeline_live/show.html.heex:49 -#: lib/memex_web/live/pipeline_live/show.html.heex:120 +#: lib/memex_web/live/pipeline_live/show.html.heex:46 +#: lib/memex_web/live/pipeline_live/show.html.heex:117 #, elixir-autogen, elixir-format msgid "delete" msgstr "" @@ -63,12 +63,12 @@ msgid "delete user" msgstr "" #: lib/memex_web/live/context_live/index.html.heex:39 -#: lib/memex_web/live/context_live/show.html.heex:31 +#: lib/memex_web/live/context_live/show.html.heex:28 #: lib/memex_web/live/note_live/index.html.heex:39 -#: lib/memex_web/live/note_live/show.html.heex:31 +#: lib/memex_web/live/note_live/show.html.heex:28 #: lib/memex_web/live/pipeline_live/index.html.heex:39 -#: lib/memex_web/live/pipeline_live/show.html.heex:39 -#: lib/memex_web/live/pipeline_live/show.html.heex:109 +#: lib/memex_web/live/pipeline_live/show.html.heex:36 +#: lib/memex_web/live/pipeline_live/show.html.heex:106 #, elixir-autogen, elixir-format msgid "edit" msgstr "" @@ -124,14 +124,7 @@ msgstr "" msgid "save" msgstr "" -#: lib/memex_web/live/context_live/show.html.heex:24 -#: lib/memex_web/live/note_live/show.html.heex:24 -#: lib/memex_web/live/pipeline_live/show.html.heex:32 -#, elixir-autogen, elixir-format -msgid "back" -msgstr "" - -#: lib/memex_web/live/pipeline_live/show.html.heex:135 +#: lib/memex_web/live/pipeline_live/show.html.heex:132 #, elixir-autogen, elixir-format msgid "add step" msgstr "" @@ -164,24 +157,24 @@ msgid "copy invite link for %{invite_name}" msgstr "" #: lib/memex_web/live/context_live/index.html.heex:47 -#: lib/memex_web/live/context_live/show.html.heex:39 +#: lib/memex_web/live/context_live/show.html.heex:36 #, elixir-autogen, elixir-format msgid "delete %{context_slug}" msgstr "" #: lib/memex_web/live/note_live/index.html.heex:47 -#: lib/memex_web/live/note_live/show.html.heex:39 +#: lib/memex_web/live/note_live/show.html.heex:36 #, elixir-autogen, elixir-format msgid "delete %{note_slug}" msgstr "" #: lib/memex_web/live/pipeline_live/index.html.heex:48 -#: lib/memex_web/live/pipeline_live/show.html.heex:47 +#: lib/memex_web/live/pipeline_live/show.html.heex:44 #, elixir-autogen, elixir-format msgid "delete %{pipeline_slug}" msgstr "" -#: lib/memex_web/live/pipeline_live/show.html.heex:118 +#: lib/memex_web/live/pipeline_live/show.html.heex:115 #, elixir-autogen, elixir-format msgid "delete %{step_title}" msgstr "" @@ -206,7 +199,7 @@ msgstr "" msgid "edit %{pipeline_slug}" msgstr "" -#: lib/memex_web/live/pipeline_live/show.html.heex:107 +#: lib/memex_web/live/pipeline_live/show.html.heex:104 #, elixir-autogen, elixir-format msgid "edit %{step_title}" msgstr "" @@ -216,12 +209,12 @@ msgstr "" msgid "edit invite for %{invite_name}" msgstr "" -#: lib/memex_web/live/pipeline_live/show.html.heex:97 +#: lib/memex_web/live/pipeline_live/show.html.heex:94 #, elixir-autogen, elixir-format msgid "move %{step_title} down" msgstr "" -#: lib/memex_web/live/pipeline_live/show.html.heex:81 +#: lib/memex_web/live/pipeline_live/show.html.heex:78 #, elixir-autogen, elixir-format msgid "move %{step_title} up" msgstr "" diff --git a/priv/gettext/en/LC_MESSAGES/default.po b/priv/gettext/en/LC_MESSAGES/default.po index f12a7a0..3f3aa47 100644 --- a/priv/gettext/en/LC_MESSAGES/default.po +++ b/priv/gettext/en/LC_MESSAGES/default.po @@ -433,7 +433,7 @@ msgstr "" msgid "what is this?" msgstr "" -#: lib/memex_web/live/pipeline_live/show.html.heex:67 +#: lib/memex_web/live/pipeline_live/show.html.heex:64 #, elixir-autogen, elixir-format msgid "%{position}. %{title}" msgstr "" @@ -458,12 +458,12 @@ msgstr "" msgid "add step to %{slug}" msgstr "" -#: lib/memex_web/live/pipeline_live/show.html.heex:61 +#: lib/memex_web/live/pipeline_live/show.html.heex:58 #, elixir-autogen, elixir-format msgid "no steps" msgstr "" -#: lib/memex_web/live/pipeline_live/show.html.heex:56 +#: lib/memex_web/live/pipeline_live/show.html.heex:53 #, elixir-autogen, elixir-format msgid "steps:" msgstr "" diff --git a/priv/gettext/en/LC_MESSAGES/prompts.po b/priv/gettext/en/LC_MESSAGES/prompts.po index 00212a3..dc7d31d 100644 --- a/priv/gettext/en/LC_MESSAGES/prompts.po +++ b/priv/gettext/en/LC_MESSAGES/prompts.po @@ -82,12 +82,12 @@ msgid "are you sure you want to make %{invite_name} unlimited?" msgstr "" #: lib/memex_web/live/context_live/index.html.heex:46 -#: lib/memex_web/live/context_live/show.html.heex:38 +#: lib/memex_web/live/context_live/show.html.heex:35 #: lib/memex_web/live/note_live/index.html.heex:46 -#: lib/memex_web/live/note_live/show.html.heex:38 +#: lib/memex_web/live/note_live/show.html.heex:35 #: lib/memex_web/live/pipeline_live/index.html.heex:46 -#: lib/memex_web/live/pipeline_live/show.html.heex:46 -#: lib/memex_web/live/pipeline_live/show.html.heex:117 +#: lib/memex_web/live/pipeline_live/show.html.heex:43 +#: lib/memex_web/live/pipeline_live/show.html.heex:114 #, elixir-autogen, elixir-format msgid "are you sure?" msgstr "" diff --git a/priv/gettext/prompts.pot b/priv/gettext/prompts.pot index 1939e15..911bc93 100644 --- a/priv/gettext/prompts.pot +++ b/priv/gettext/prompts.pot @@ -81,12 +81,12 @@ msgid "are you sure you want to make %{invite_name} unlimited?" msgstr "" #: lib/memex_web/live/context_live/index.html.heex:46 -#: lib/memex_web/live/context_live/show.html.heex:38 +#: lib/memex_web/live/context_live/show.html.heex:35 #: lib/memex_web/live/note_live/index.html.heex:46 -#: lib/memex_web/live/note_live/show.html.heex:38 +#: lib/memex_web/live/note_live/show.html.heex:35 #: lib/memex_web/live/pipeline_live/index.html.heex:46 -#: lib/memex_web/live/pipeline_live/show.html.heex:46 -#: lib/memex_web/live/pipeline_live/show.html.heex:117 +#: lib/memex_web/live/pipeline_live/show.html.heex:43 +#: lib/memex_web/live/pipeline_live/show.html.heex:114 #, elixir-autogen, elixir-format msgid "are you sure?" msgstr ""