diff options
Diffstat (limited to 'app/views/freeswitch_voicemail_msgs')
-rw-r--r-- | app/views/freeswitch_voicemail_msgs/_index_core.html.haml | 12 | ||||
-rw-r--r-- | app/views/freeswitch_voicemail_msgs/index.html.haml | 3 |
2 files changed, 15 insertions, 0 deletions
diff --git a/app/views/freeswitch_voicemail_msgs/_index_core.html.haml b/app/views/freeswitch_voicemail_msgs/_index_core.html.haml new file mode 100644 index 0000000..58d9944 --- /dev/null +++ b/app/views/freeswitch_voicemail_msgs/_index_core.html.haml @@ -0,0 +1,12 @@ +%table + %tr + %th= t('freeswitch_voicemail_msgs.index.created_epoch') + %th= t('freeswitch_voicemail_msgs.index.message_len') + %th= t('freeswitch_voicemail_msgs.index.file_path') + + - reset_cycle + - for freeswitch_voicemail_msg in freeswitch_voicemail_msgs + %tr{:class => cycle('odd', 'even')} + %td= freeswitch_voicemail_msg.created_epoch + %td= freeswitch_voicemail_msg.message_len + %td= freeswitch_voicemail_msg.file_path
\ No newline at end of file diff --git a/app/views/freeswitch_voicemail_msgs/index.html.haml b/app/views/freeswitch_voicemail_msgs/index.html.haml new file mode 100644 index 0000000..5083c6f --- /dev/null +++ b/app/views/freeswitch_voicemail_msgs/index.html.haml @@ -0,0 +1,3 @@ +- title t("freeswitch_voicemail_msgs.index.page_title") + += render "index_core", :freeswitch_voicemail_msgs => @freeswitch_voicemail_msgs
\ No newline at end of file |