summaryrefslogtreecommitdiff
path: root/app/views/voicemail_accounts/_index_core.html.haml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/voicemail_accounts/_index_core.html.haml')
-rw-r--r--app/views/voicemail_accounts/_index_core.html.haml18
1 files changed, 18 insertions, 0 deletions
diff --git a/app/views/voicemail_accounts/_index_core.html.haml b/app/views/voicemail_accounts/_index_core.html.haml
new file mode 100644
index 0000000..cd87c31
--- /dev/null
+++ b/app/views/voicemail_accounts/_index_core.html.haml
@@ -0,0 +1,18 @@
+%table.table.table-striped
+ %tr
+ %th
+ %th= t('voicemail_accounts.index.name')
+ %th= t('voicemail_messages.index.page_title')
+
+
+ - for voicemail_account in voicemail_accounts
+ %tr
+ %td
+ - if voicemail_account.active
+ %i.icon-ok
+ - else
+ %i.icon-ban-circle
+ %td= voicemail_account.name
+ %td= link_to voicemail_account.voicemail_messages.count, voicemail_account_voicemail_messages_path(voicemail_account)
+
+ =render :partial => 'shared/index_view_edit_destroy_part', :locals => {:parent => voicemail_account.voicemail_accountable, :child => voicemail_account}