Add public_content to translations table and rename lang to language

This commit is contained in:
Thelonius Kort
2023-01-15 17:55:26 +01:00
parent 0b28b0acc0
commit aab04f5ecc
7 changed files with 20 additions and 9 deletions

View File

@ -17,7 +17,7 @@
</.header>
<.table id="translations" rows={@article.translations} row_click={&JS.navigate(~p"/translations/#{&1}")}>
<:col :let={translation} label="Lang"><%= translation.lang %></:col>
<:col :let={translation} label="Language"><%= translation.language %></:col>
<:col :let={translation} label="Title"><%= translation.title %></:col>
<:col :let={translation} label="Teaser"><%= translation.teaser %></:col>
<:col :let={translation} label="Date"><%= translation.date %></:col>