From f39b5798a86bc113712d0b7daa7106eaba942bf1 Mon Sep 17 00:00:00 2001 From: Daniel Berteaud Date: Tue, 17 Jun 2014 23:14:55 +0200 Subject: [PATCH] More standard line wrap --- templates/default/error.html.ep | 28 +++++++++++++++++++++------- 1 file changed, 21 insertions(+), 7 deletions(-) diff --git a/templates/default/error.html.ep b/templates/default/error.html.ep index 1bda03b..0ece6a9 100644 --- a/templates/default/error.html.ep +++ b/templates/default/error.html.ep @@ -3,21 +3,35 @@ %= include 'public_toolbar'
-

<%=l 'ERROR_OCCURRED' %>

-

<%= $msg %>

+

+ <%=l 'ERROR_OCCURRED' %> +

+

+ <%= $msg %> +

<% if ($err eq 'ERROR_NAME_CONFLICT'){ %> - <%=l 'JOIN_THIS_ROOM' %> + + <%=l 'JOIN_THIS_ROOM' %> + <% } elsif ($err eq 'WRONG_PASSWORD'){ %> - <%=l 'TRY_AGAIN' %> + + <%=l 'TRY_AGAIN' %> + <% } elsif ($err eq 'ERROR_ROOM_s_LOCKED' && stash 'ownerPass'){ %> - <%=l 'AUTH_IF_OWNER' %> + + <%=l 'AUTH_IF_OWNER' %> + <% } elsif ($err eq 'ERROR_ROOM_s_DOESNT_EXIST'){ %> - + <% } %>