summaryrefslogtreecommitdiff
path: root/app/views/call_histories
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/call_histories')
-rw-r--r--app/views/call_histories/_index_core.html.haml2
-rw-r--r--app/views/call_histories/index.html.haml4
2 files changed, 3 insertions, 3 deletions
diff --git a/app/views/call_histories/_index_core.html.haml b/app/views/call_histories/_index_core.html.haml
index 4ed4fc4..f799ead 100644
--- a/app/views/call_histories/_index_core.html.haml
+++ b/app/views/call_histories/_index_core.html.haml
@@ -2,7 +2,7 @@
%header.entries-nav= render :partial => "call_histories/navigation"
.content
- cache(['call_history_table', I18n.locale, @sip_account, call_histories.first, call_histories.last, call_histories.count]) do
- %table
+ %table{:class => 'table table-striped'}
- reset_cycle
- for call_history in call_histories
- tr_background_colour = cycle('odd', 'even')
diff --git a/app/views/call_histories/index.html.haml b/app/views/call_histories/index.html.haml
index adf6838..a939387 100644
--- a/app/views/call_histories/index.html.haml
+++ b/app/views/call_histories/index.html.haml
@@ -1,6 +1,6 @@
- if @type
- - title t("call_histories.index.page_title_#{@type}")
+ - content_for :title, t("call_histories.index.page_title_#{@type}")
- else
- - title t("call_histories.index.page_title")
+ - content_for :title, t("call_histories.index.page_title")
= render "index_core", :call_histories => @call_histories