diff options
author | Stefan Wintermeyer <stefan.wintermeyer@amooma.de> | 2013-01-21 20:18:16 +0100 |
---|---|---|
committer | Stefan Wintermeyer <stefan.wintermeyer@amooma.de> | 2013-01-22 00:02:50 +0100 |
commit | 18ed88c7e3c789366f6e5443dc4ee0bc981a4b88 (patch) | |
tree | 847f179022a2c69c1b641fcb2aa474f168877649 /app/views/call_histories | |
parent | 495bbfdf78206c8adaec057e83900dda6754092c (diff) |
Started the migration to Twitter Bootstrap.
Diffstat (limited to 'app/views/call_histories')
-rw-r--r-- | app/views/call_histories/_index_core.html.haml | 2 | ||||
-rw-r--r-- | app/views/call_histories/index.html.haml | 4 |
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 |