remove tempting back button

This commit is contained in:
shibao 2023-03-19 00:25:47 -04:00
parent 7d16cec5db
commit bf91eadd8e
12 changed files with 69 additions and 99 deletions

View File

@ -20,9 +20,6 @@
</p>
<div class="self-end flex space-x-4">
<.link class="btn btn-primary" navigate={Routes.context_index_path(@socket, :index)}>
<%= dgettext("actions", "back") %>
</.link>
<.link
:if={Contexts.is_owner?(@context, @current_user)}
class="btn btn-primary"

View File

@ -20,9 +20,6 @@
</p>
<div class="self-end flex space-x-4">
<.link class="btn btn-primary" navigate={Routes.note_index_path(@socket, :index)}>
<%= dgettext("actions", "back") %>
</.link>
<.link
:if={Notes.is_owner?(@note, @current_user)}
class="btn btn-primary"

View File

@ -28,9 +28,6 @@
</p>
<div class="pb-4 self-end flex space-x-4">
<.link class="btn btn-primary" navigate={Routes.pipeline_index_path(@socket, :index)}>
<%= dgettext("actions", "back") %>
</.link>
<.link
:if={Pipelines.is_owner?(@pipeline, @current_user)}
class="btn btn-primary"

View File

@ -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 ""

View File

@ -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 ""

View File

@ -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 ""

View File

@ -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 ""

View File

@ -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 ""

View File

@ -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 ""

View File

@ -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 ""

View File

@ -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 ""

View File

@ -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 ""