summaryrefslogtreecommitdiff
path: root/app/views/fax_documents/show.html.haml
diff options
context:
space:
mode:
authorPeter Kozak <spag@golwen.net>2013-03-11 07:29:39 -0400
committerPeter Kozak <spag@golwen.net>2013-03-11 07:29:39 -0400
commit62293482479ff51c5044f536aa2aae88e5117f46 (patch)
treee4e643cabf14a58863715f8c112447b8e77e1fae /app/views/fax_documents/show.html.haml
parent3e7b87d2839213cf5d29e2750b08a7b6cfd7d1c4 (diff)
parent64afdeacb1444b319abfcad6c9a8cfd656fe2dd4 (diff)
Merge branch 'develop' of github.com:amooma/GS5 into develop
Diffstat (limited to 'app/views/fax_documents/show.html.haml')
-rw-r--r--app/views/fax_documents/show.html.haml3
1 files changed, 3 insertions, 0 deletions
diff --git a/app/views/fax_documents/show.html.haml b/app/views/fax_documents/show.html.haml
index b8f3e9e..f860143 100644
--- a/app/views/fax_documents/show.html.haml
+++ b/app/views/fax_documents/show.html.haml
@@ -65,3 +65,6 @@
.row
.span12
= render :partial => 'shared/show_edit_destroy_part', :locals => { :parent => @fax_document.fax_account, :child => @fax_document }
+
+- if @fax_document.state == 'sending' || @fax_document.state == 'queued_for_sending'
+ = subscribe_to "/fax_documents/#{@fax_document.id}" \ No newline at end of file