diff options
author | Peter Kozak <spag@golwen.net> | 2013-04-19 10:19:45 +0200 |
---|---|---|
committer | Peter Kozak <spag@golwen.net> | 2013-04-19 10:19:45 +0200 |
commit | 5e728545915b87683087d7814bf08034b8d44a33 (patch) | |
tree | ec2efe8e1df5d8929f94d457e5e05fbba407d90a /app/views/voicemail_accounts/_index_core.html.haml | |
parent | fc1e3b48b69d5b358ea19256cd48523d82821326 (diff) |
list voicemails count
Diffstat (limited to 'app/views/voicemail_accounts/_index_core.html.haml')
-rw-r--r-- | app/views/voicemail_accounts/_index_core.html.haml | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/app/views/voicemail_accounts/_index_core.html.haml b/app/views/voicemail_accounts/_index_core.html.haml index 908c2b4..cd87c31 100644 --- a/app/views/voicemail_accounts/_index_core.html.haml +++ b/app/views/voicemail_accounts/_index_core.html.haml @@ -2,6 +2,7 @@ %tr %th %th= t('voicemail_accounts.index.name') + %th= t('voicemail_messages.index.page_title') - for voicemail_account in voicemail_accounts @@ -12,4 +13,6 @@ - else %i.icon-ban-circle %td= voicemail_account.name - =render :partial => 'shared/index_view_edit_destroy_part', :locals => {:parent => voicemail_account.voicemail_accountable, :child => voicemail_account}
\ No newline at end of file + %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} |