summaryrefslogtreecommitdiff
path: root/app/views/call_routes
diff options
context:
space:
mode:
authorStefan Wintermeyer <stefan.wintermeyer@amooma.de>2013-01-21 20:18:16 +0100
committerStefan Wintermeyer <stefan.wintermeyer@amooma.de>2013-01-22 00:02:50 +0100
commit18ed88c7e3c789366f6e5443dc4ee0bc981a4b88 (patch)
tree847f179022a2c69c1b641fcb2aa474f168877649 /app/views/call_routes
parent495bbfdf78206c8adaec057e83900dda6754092c (diff)
Started the migration to Twitter Bootstrap.
Diffstat (limited to 'app/views/call_routes')
-rw-r--r--app/views/call_routes/_index_core.html.haml4
-rw-r--r--app/views/call_routes/edit.html.haml2
-rw-r--r--app/views/call_routes/index.html.haml4
-rw-r--r--app/views/call_routes/new.html.haml2
-rw-r--r--app/views/call_routes/show.html.haml2
5 files changed, 7 insertions, 7 deletions
diff --git a/app/views/call_routes/_index_core.html.haml b/app/views/call_routes/_index_core.html.haml
index 12e89ee..e0ca39b 100644
--- a/app/views/call_routes/_index_core.html.haml
+++ b/app/views/call_routes/_index_core.html.haml
@@ -1,5 +1,5 @@
- cache(['call_routes_table', call_routes.count, call_routes.reorder(:updated_at).last]) do
- %table
+ %table{:class => 'table table-striped'}
%tr
%th= t('call_routes.index.name')
%th= t('call_routes.index.endpoint_type')
@@ -7,7 +7,7 @@
- reset_cycle
- for call_route in call_routes
- %tr{:class => cycle('odd', 'even')}
+ %tr
- cache(['call_route_single_table_row_within_tr', call_route, call_routes.count]) do
%td= call_route.name
%td= call_route.endpoint_type
diff --git a/app/views/call_routes/edit.html.haml b/app/views/call_routes/edit.html.haml
index 0ad46c5..6048200 100644
--- a/app/views/call_routes/edit.html.haml
+++ b/app/views/call_routes/edit.html.haml
@@ -1,3 +1,3 @@
-- title t("call_routes.edit.page_title")
+- content_for :title, t("call_routes.edit.page_title")
= render "form" \ No newline at end of file
diff --git a/app/views/call_routes/index.html.haml b/app/views/call_routes/index.html.haml
index 151fc0e..bd4468c 100644
--- a/app/views/call_routes/index.html.haml
+++ b/app/views/call_routes/index.html.haml
@@ -1,7 +1,7 @@
-- title t("call_routes.index.page_title")
+- content_for :title, t("call_routes.index.page_title")
- if @call_routes && @call_routes.count > 0
- %table
+ %table{:class => 'table table-striped'}
- @routing_tables.each do |routing_table|
%tr
%td{:colspan => 3}
diff --git a/app/views/call_routes/new.html.haml b/app/views/call_routes/new.html.haml
index 0796d7f..28aead9 100644
--- a/app/views/call_routes/new.html.haml
+++ b/app/views/call_routes/new.html.haml
@@ -1,3 +1,3 @@
-- title t("call_routes.new.page_title")
+- content_for :title, t("call_routes.new.page_title")
= render "form" \ No newline at end of file
diff --git a/app/views/call_routes/show.html.haml b/app/views/call_routes/show.html.haml
index bada227..70fe13e 100644
--- a/app/views/call_routes/show.html.haml
+++ b/app/views/call_routes/show.html.haml
@@ -1,4 +1,4 @@
-- title t("call_routes.show.page_title")
+- content_for :title, t("call_routes.show.page_title")
%p
%strong= t('call_routes.show.table') + ":"