MishkaCmsCoreWeb.Live.Admin.Dashboard.Runtime.Translation.Index (Mishka CMS Core v0.0.1)

Copy Markdown View Source

The admin's list of the words runtime templates ask t/1 for — a Gervaz table and a Gervaz form, nothing drawn by hand.

A row is a word, its languages shown as chips. Translate opens every language of it at once — see MishkaCmsCoreWeb.Live.Admin.Components.TranslationGroup, which the visual editor's sheet shares — and Delete removes it in every language.

Two actions sit above the table that no row can offer: Scan templates, the backfill for templates saved before t/1 existed or before the site gained a language, and Remove unused, which deletes the rows no template asks for any more. See MishkaCmsCore.Runtime.Translations.

Summary

Functions

Callback implementation for Phoenix.LiveView.render/1.

Functions

render(assigns)

Callback implementation for Phoenix.LiveView.render/1.