From a429629b7925c3d5a590f79afc02b9fab13f5f5a Mon Sep 17 00:00:00 2001 From: Inhji Date: Thu, 30 Mar 2023 22:56:58 +0200 Subject: [PATCH] show updated at in admin notes --- lib/chiya_web/controllers/note_html/index.html.heex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/chiya_web/controllers/note_html/index.html.heex b/lib/chiya_web/controllers/note_html/index.html.heex index 4fd190c..814b11f 100644 --- a/lib/chiya_web/controllers/note_html/index.html.heex +++ b/lib/chiya_web/controllers/note_html/index.html.heex @@ -9,8 +9,8 @@ <.table id="notes" rows={@notes} row_click={&JS.navigate(~p"/admin/notes/#{&1}")}> <:col :let={note} label="Name"><%= note.name %> + <:col :let={note} label="Updated at"><%= from_now(note.updated_at) %> <:col :let={note} label="Published at"><%= from_now(note.published_at) %> - <:col :let={note} label="Kind"><%= note.kind %> <:action :let={note}>
<.link navigate={~p"/admin/notes/#{note}"}>Show