summaryrefslogtreecommitdiff
path: root/app/views/call_histories/_navigation.html.haml
diff options
context:
space:
mode:
authorStefan Wintermeyer <stefan.wintermeyer@amooma.de>2013-01-22 15:31:47 +0100
committerStefan Wintermeyer <stefan.wintermeyer@amooma.de>2013-01-22 15:31:47 +0100
commit6f69c1a85055ec7c2515719d79d2a7a4e60cec50 (patch)
tree6c88289c9f99be0af8635636fcdf64102090e5ec /app/views/call_histories/_navigation.html.haml
parent343f8028a226e2239207194a13890454c696cd38 (diff)
UI improvements.
Diffstat (limited to 'app/views/call_histories/_navigation.html.haml')
-rw-r--r--app/views/call_histories/_navigation.html.haml23
1 files changed, 13 insertions, 10 deletions
diff --git a/app/views/call_histories/_navigation.html.haml b/app/views/call_histories/_navigation.html.haml
index a1999d9..d72ad64 100644
--- a/app/views/call_histories/_navigation.html.haml
+++ b/app/views/call_histories/_navigation.html.haml
@@ -1,11 +1,14 @@
-%nav
- %ol.abc
- %li
- %a{ :href => "?type=" }= t("call_histories.index.navigation.all", :calls => @calls_count)
- %a{ :href => "?type=missed" }= t("call_histories.index.navigation.missed", :calls => @calls_missed_count)
- %a{ :href => "?type=received" }= t("call_histories.index.navigation.received", :calls => @calls_received_count)
- %a{ :href => "?type=dialed" }= t("call_histories.index.navigation.dialed", :calls => @calls_dialed_count)
- %a{ :href => "?type=forwarded" }= t("call_histories.index.navigation.forwarded", :calls => @calls_forwarded_count)
+%ul{:class => 'nav nav-pills'}
+ %li
+ %a{ :href => "?type=" }= t("call_histories.index.navigation.all", :calls => @calls_count)
+ %li
+ %a{ :href => "?type=missed" }= t("call_histories.index.navigation.missed", :calls => @calls_missed_count)
+ %li
+ %a{ :href => "?type=received" }= t("call_histories.index.navigation.received", :calls => @calls_received_count)
+ %li
+ %a{ :href => "?type=dialed" }= t("call_histories.index.navigation.dialed", :calls => @calls_dialed_count)
+ %li
+ %a{ :href => "?type=forwarded" }= t("call_histories.index.navigation.forwarded", :calls => @calls_forwarded_count)
-.pagination
- = will_paginate @call_histories
+/ .pagination
+/ = will_paginate @call_histories