From f90915a93a9ac1057824e3b1acc0b42c7bc0e2c3 Mon Sep 17 00:00:00 2001 From: Felix Niklas Date: Thu, 22 Jan 2015 19:13:38 +0100 Subject: [PATCH] attempt to make the error message look nicer if this doesn't work because of too long detail texts I'd first try to make them more compat. otherwise we could have toggle-able details like chrome http://cl.ly/image/1u1e1g1f1L2o/Screen%20Shot%202015-01-22%20at%2019.12.58.png --- .../javascripts/app/views/generic/error/generic.jst.eco | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/app/assets/javascripts/app/views/generic/error/generic.jst.eco b/app/assets/javascripts/app/views/generic/error/generic.jst.eco index 746df4876..c07a4dc06 100644 --- a/app/assets/javascripts/app/views/generic/error/generic.jst.eco +++ b/app/assets/javascripts/app/views/generic/error/generic.jst.eco @@ -1,5 +1,3 @@
-

<%- @T('Opps.. I\'m sorry, something went wrong!' ) %>

-

<%- @T('Status Code') %>: <%= @status %>

-

<%= @detail %>

+

<%- @T('Status Code') %>: <%= @status %>. <%= @detail %>

\ No newline at end of file