summaryrefslogtreecommitdiff
path: root/app/views/voicemail_messages
diff options
context:
space:
mode:
authorStefan Wintermeyer <stefan.wintermeyer@amooma.de>2013-01-22 15:33:06 +0100
committerStefan Wintermeyer <stefan.wintermeyer@amooma.de>2013-01-22 15:33:06 +0100
commit39aa7132ceed3d4beab3a9b828e571bbfc67c07e (patch)
tree6c88289c9f99be0af8635636fcdf64102090e5ec /app/views/voicemail_messages
parent5ad8203ce4f1bfea997960d0b52c626dea24b944 (diff)
parent6f69c1a85055ec7c2515719d79d2a7a4e60cec50 (diff)
Merge branch 'develop'5.1-beta1
Diffstat (limited to 'app/views/voicemail_messages')
-rw-r--r--app/views/voicemail_messages/_index_core.html.haml7
-rw-r--r--app/views/voicemail_messages/index.html.haml4
2 files changed, 6 insertions, 5 deletions
diff --git a/app/views/voicemail_messages/_index_core.html.haml b/app/views/voicemail_messages/_index_core.html.haml
index b8e47af..ded7ea0 100644
--- a/app/views/voicemail_messages/_index_core.html.haml
+++ b/app/views/voicemail_messages/_index_core.html.haml
@@ -1,10 +1,10 @@
= form_tag(destroy_multiple_sip_account_voicemail_messages_path(@sip_account), :method => :delete, :id => 'voicemail_message_form') do
%header.entries-nav= render :partial => "voicemail_messages/navigation"
.content
- %table
- - reset_cycle
+ %table{:class => 'table table-striped'}
+
- for voicemail_message in voicemail_messages
- %tr.voicemail-messages-entry{:class => cycle('odd', 'even'), :id => "message_#{voicemail_message.uuid}"}
+ %tr.voicemail-messages-entry{:id => "message_#{voicemail_message.uuid}"}
%td.select_box= check_box_tag("selected_uuids[]", voicemail_message.uuid, false, :uuid => "select_item_#{voicemail_message.uuid}", :class => 'select_item')
%td.time
.voicemail-received
@@ -40,5 +40,6 @@
= link_to t('voicemail_messages.index.actions.destroy'), sip_account_voicemail_message_path(@sip_account, voicemail_message), :method => :delete
%footer.entries-nav= render :partial => "voicemail_messages/navigation"
+ = link_to Haml::Engine.new("%i.icon-remove").render + ' test ', root_url
= image_submit_tag('icons/cross-16x.png', :confirm => t("voicemail_messages.index.actions.confirm_selected"))
= t("voicemail_messages.index.actions.destroy_multiple")
diff --git a/app/views/voicemail_messages/index.html.haml b/app/views/voicemail_messages/index.html.haml
index 53f8090..53ff745 100644
--- a/app/views/voicemail_messages/index.html.haml
+++ b/app/views/voicemail_messages/index.html.haml
@@ -1,6 +1,6 @@
- if @type
- - title t("voicemail_messages.index.page_title_#{@type}")
+ - content_for :title, t("voicemail_messages.index.page_title_#{@type}")
- else
- - title t("voicemail_messages.index.page_title")
+ - content_for :title, t("voicemail_messages.index.page_title")
= render "index_core", :voicemail_messages => @voicemail_messages