summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorspag <spag@golwen.net>2013-01-28 12:41:36 +0100
committerspag <spag@golwen.net>2013-01-28 12:41:36 +0100
commitbf1b92197212d3bd44ac8101814a7ffb08bb14bc (patch)
tree707becfaa64be57b2154cf710f25f0266d6342c6
parent1f2d63d8261184d61854a84c2fb5d16b98e78959 (diff)
date in fax index
-rw-r--r--app/views/fax_documents/_index_core.html.haml4
1 files changed, 3 insertions, 1 deletions
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 ? '&#8680;' : '&#8678;'} #{fax_document.sent_at}".html_safe
+ %td
+ = "#{fax_document.inbound ? '&#8680;' : '&#8678;'}".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