diff options
author | spag <spag@golwen.net> | 2013-02-14 10:42:39 +0100 |
---|---|---|
committer | spag <spag@golwen.net> | 2013-02-14 10:42:39 +0100 |
commit | 41303b0a2a07b897f7373eebba25708da89085a1 (patch) | |
tree | 88e48da31bdd92d80af76c18d0df992f7d09f91b /app/views/voicemail_messages | |
parent | a1aafe9eec98f91fd76d104964ad98fcafc94a80 (diff) | |
parent | a9bf3a7e1fd802025824668e477a5ec14ce81d5a (diff) |
Merge branch 'develop' of github.com:amooma/GS5 into develop
Diffstat (limited to 'app/views/voicemail_messages')
-rw-r--r-- | app/views/voicemail_messages/_index_core.html.haml | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/app/views/voicemail_messages/_index_core.html.haml b/app/views/voicemail_messages/_index_core.html.haml index f03002d..5e82761 100644 --- a/app/views/voicemail_messages/_index_core.html.haml +++ b/app/views/voicemail_messages/_index_core.html.haml @@ -24,18 +24,18 @@ %td - if ! voicemail_message.flags.blank? = t("voicemail_messages.index.flags.#{voicemail_message.flags}") - %td.actions + %td.form-actions - if can?(:show, voicemail_message) && File.readable?(voicemail_message.file_path) = link_to t('voicemail_messages.index.actions.download'), sip_account_voicemail_message_path(@sip_account, voicemail_message, :format => :wav), :method => :get %td.actions - if @sip_account.registration && can?(:call, voicemail_message) = link_to t('voicemail_messages.index.actions.call'), call_sip_account_voicemail_message_path(@sip_account, voicemail_message), :method => :put - %td.actions + %td.form-actions - if can?(:edit, voicemail_message) && voicemail_message.read_epoch > 0 = link_to t('voicemail_messages.index.actions.mark_unread'), mark_unread_sip_account_voicemail_message_path(@sip_account, voicemail_message), :method => :put - else = link_to t('voicemail_messages.index.actions.mark_read'), mark_read_sip_account_voicemail_message_path(@sip_account, voicemail_message), :method => :put - %td.actions + %td.form-actions - if can? :destroy, voicemail_message = link_to t('voicemail_messages.index.actions.destroy'), sip_account_voicemail_message_path(@sip_account, voicemail_message), :method => :delete |