From bf1b92197212d3bd44ac8101814a7ffb08bb14bc Mon Sep 17 00:00:00 2001 From: spag Date: Mon, 28 Jan 2013 12:41:36 +0100 Subject: date in fax index --- app/views/fax_documents/_index_core.html.haml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/app/views/fax_documents/_index_core.html.haml b/app/views/fax_documents/_index_core.html.haml index 1408eba..8559f1c 100644 --- a/app/views/fax_documents/_index_core.html.haml +++ b/app/views/fax_documents/_index_core.html.haml @@ -14,7 +14,9 @@ - for fax_document in fax_documents %tr{:id => "fax_document_#{fax_document.id}"} - if fax_document.sent_at - %td= "#{fax_document.inbound ? '⇨' : '⇦'} #{fax_document.sent_at}".html_safe + %td + = "#{fax_document.inbound ? '⇨' : '⇦'}".html_safe + = l fax_document.sent_at, :format => :short %td= t("fax_documents.states.#{fax_document.state}") %td= t("fax_documents.result_codes.code_#{fax_document.result_code}") + " (#{fax_document.result_code})" - else -- cgit v1.2.3