From abad279fd6247b81e04efd9110ffe221bb096708 Mon Sep 17 00:00:00 2001 From: Guillermo Ramos Date: Tue, 11 Feb 2020 17:08:42 +0100 Subject: CSS cleanup --- lib/waev_web/templates/exports/show.html.eex | 34 ++++++++++------------------ 1 file changed, 12 insertions(+), 22 deletions(-) (limited to 'lib/waev_web/templates/exports') diff --git a/lib/waev_web/templates/exports/show.html.eex b/lib/waev_web/templates/exports/show.html.eex index 501f3c2..9ac011e 100644 --- a/lib/waev_web/templates/exports/show.html.eex +++ b/lib/waev_web/templates/exports/show.html.eex @@ -1,43 +1,33 @@ -
-
-
- <%= @export.left.name %> -
<%= @export.left.name %>
-
-
-
-
- <%= @export.right.name %> -
<%= @export.right.name %>
-
-
+
+ <%= party_peek(assigns, @export.left) %> + <%= party_peek(assigns, @export.right) %>
<%= for message <- @export.messages do %> <%= case message.side do %> <% :left -> %> -
- +
+ <%= party_avatar(assigns, @export.left, :tiny) %> <% :right -> %> -