Update some superficial things
This commit is contained in:
@ -26,7 +26,6 @@
|
|||||||
vertical-align: -2px;
|
vertical-align: -2px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
.article h4 {
|
.article h4 {
|
||||||
@apply font-semibold text-lg leading-8 text-zinc-800;
|
@apply font-semibold text-lg leading-8 text-zinc-800;
|
||||||
}
|
}
|
||||||
@ -42,3 +41,7 @@
|
|||||||
.article blockquote {
|
.article blockquote {
|
||||||
@apply px-4 py-2 text-sm;
|
@apply px-4 py-2 text-sm;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.article a {
|
||||||
|
@apply text-cyan-900;
|
||||||
|
}
|
||||||
|
|||||||
@ -1,7 +1,6 @@
|
|||||||
defmodule Outlook.InternalTree.InternalTree do
|
defmodule Outlook.InternalTree.InternalTree do
|
||||||
|
|
||||||
alias Outlook.InternalTree.InternalNode
|
alias Outlook.InternalTree.{InternalNode,TranslationUnit}
|
||||||
alias Outlook.InternalTree.TranslationUnit
|
|
||||||
|
|
||||||
def garnish([%TranslationUnit{} = node | rest], %{tunits: _} = options) do
|
def garnish([%TranslationUnit{} = node | rest], %{tunits: _} = options) do
|
||||||
[ set_attributes(node, options.tunits, options.tu_ids)
|
[ set_attributes(node, options.tunits, options.tu_ids)
|
||||||
|
|||||||
@ -1,10 +1,5 @@
|
|||||||
<.header>
|
<.header>
|
||||||
Listing Translations
|
Listing Translations
|
||||||
<:actions>
|
|
||||||
<.link patch={~p"/translations/new"}>
|
|
||||||
<.button>New Translation</.button>
|
|
||||||
</.link>
|
|
||||||
</:actions>
|
|
||||||
</.header>
|
</.header>
|
||||||
|
|
||||||
<.table id="translations" rows={@translations} row_click={&JS.navigate(~p"/translations/#{&1}")}>
|
<.table id="translations" rows={@translations} row_click={&JS.navigate(~p"/translations/#{&1}")}>
|
||||||
|
|||||||
@ -18,7 +18,7 @@ defmodule OutlookWeb.TranslationLive.NewEdit do
|
|||||||
translation={@translation}
|
translation={@translation}
|
||||||
translation_content={@translation_content}
|
translation_content={@translation_content}
|
||||||
current_user={@current_user}
|
current_user={@current_user}
|
||||||
navigate={~p"/translations"}
|
navigate={~p"/articles/#{@translation.article}"}
|
||||||
/>
|
/>
|
||||||
"""
|
"""
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user