From ae42f0f07d2cfe9d3b184e4a2b0bd9f8da8ad9db Mon Sep 17 00:00:00 2001 From: Guillermo Ramos Date: Thu, 13 Feb 2020 11:47:32 +0100 Subject: Placeholder when there are no more messages --- lib/waev_web/templates/exports/show.html.eex | 65 +++++++++++++++------------- 1 file changed, 36 insertions(+), 29 deletions(-) (limited to 'lib/waev_web/templates') diff --git a/lib/waev_web/templates/exports/show.html.eex b/lib/waev_web/templates/exports/show.html.eex index b9f84d5..948c125 100644 --- a/lib/waev_web/templates/exports/show.html.eex +++ b/lib/waev_web/templates/exports/show.html.eex @@ -3,47 +3,54 @@ <%= party_peek(assigns, @export.right) %> -<%= for {date, blocks} <- process_messages(@export.messages) do %> +<%= if Enum.empty?(@export.messages) do %>