diff options
author | spag <spag@golwen.net> | 2013-01-28 12:41:36 +0100 |
---|---|---|
committer | spag <spag@golwen.net> | 2013-01-28 12:41:36 +0100 |
commit | bf1b92197212d3bd44ac8101814a7ffb08bb14bc (patch) | |
tree | 707becfaa64be57b2154cf710f25f0266d6342c6 /app/views/fax_documents | |
parent | 1f2d63d8261184d61854a84c2fb5d16b98e78959 (diff) |
date in fax index
Diffstat (limited to 'app/views/fax_documents')
-rw-r--r-- | app/views/fax_documents/_index_core.html.haml | 4 |
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 ? '⇨' : '⇦'} #{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 |