Format editor dashboard LiveView
This commit is contained in:
@@ -72,7 +72,8 @@ defmodule FirehoseWeb.EditorDashboardLive do
|
||||
{post.title}
|
||||
</.link>
|
||||
<div class="text-sm text-zinc-500 mt-1">
|
||||
{post.author} · {Calendar.strftime(post.date, "%b %d, %Y")} · <span class="text-amber-600 font-medium">Draft</span>
|
||||
{post.author} · {Calendar.strftime(post.date, "%b %d, %Y")} ·
|
||||
<span class="text-amber-600 font-medium">Draft</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -91,7 +92,10 @@ defmodule FirehoseWeb.EditorDashboardLive do
|
||||
{post.title}
|
||||
</.link>
|
||||
<div class="text-sm text-zinc-500 mt-1">
|
||||
{post.author} · {Calendar.strftime(post.date, "%b %d, %Y")} · <span class="text-blue-600 font-medium">{Post.days_until_live(post)} days until live</span>
|
||||
{post.author} · {Calendar.strftime(post.date, "%b %d, %Y")} ·
|
||||
<span class="text-blue-600 font-medium">
|
||||
{Post.days_until_live(post)} days until live
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user