Update some superficial things

This commit is contained in:
Thelonius Kort
2023-01-14 22:05:48 +01:00
parent a95131bdbb
commit 483ed9440d
4 changed files with 6 additions and 9 deletions

View File

@ -1,10 +1,5 @@
<.header>
Listing Translations
<:actions>
<.link patch={~p"/translations/new"}>
<.button>New Translation</.button>
</.link>
</:actions>
</.header>
<.table id="translations" rows={@translations} row_click={&JS.navigate(~p"/translations/#{&1}")}>

View File

@ -18,7 +18,7 @@ defmodule OutlookWeb.TranslationLive.NewEdit do
translation={@translation}
translation_content={@translation_content}
current_user={@current_user}
navigate={~p"/translations"}
navigate={~p"/articles/#{@translation.article}"}
/>
"""
end