diff options
Diffstat (limited to 'app/views/call_histories')
-rw-r--r-- | app/views/call_histories/_index_core.html.haml | 4 | ||||
-rw-r--r-- | app/views/call_histories/index.html.haml | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/app/views/call_histories/_index_core.html.haml b/app/views/call_histories/_index_core.html.haml index 4ed4fc4..9a52148 100644 --- a/app/views/call_histories/_index_core.html.haml +++ b/app/views/call_histories/_index_core.html.haml @@ -2,8 +2,8 @@ %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 - - reset_cycle + %table{:class => 'table table-striped'} + - for call_history in call_histories - tr_background_colour = cycle('odd', 'even') - cache(['call_history_table_row', I18n.locale, call_history, tr_background_colour]) do 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 |