summaryrefslogtreecommitdiff
path: root/app/views/phones
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/phones
parent495bbfdf78206c8adaec057e83900dda6754092c (diff)
Started the migration to Twitter Bootstrap.
Diffstat (limited to 'app/views/phones')
-rw-r--r--app/views/phones/_index_core.html.haml2
-rw-r--r--app/views/phones/edit.html.haml2
-rw-r--r--app/views/phones/index.html.haml2
-rw-r--r--app/views/phones/new.html.haml2
-rw-r--r--app/views/phones/show.html.haml2
5 files changed, 5 insertions, 5 deletions
diff --git a/app/views/phones/_index_core.html.haml b/app/views/phones/_index_core.html.haml
index c442d7f..8dc875c 100644
--- a/app/views/phones/_index_core.html.haml
+++ b/app/views/phones/_index_core.html.haml
@@ -1,4 +1,4 @@
-%table
+%table{:class => 'table table-striped'}
%tr
%th= t('phones.index.mac_address')
%th= t('phones.index.phone_model_id')
diff --git a/app/views/phones/edit.html.haml b/app/views/phones/edit.html.haml
index cdbacac..9452e2a 100644
--- a/app/views/phones/edit.html.haml
+++ b/app/views/phones/edit.html.haml
@@ -1,3 +1,3 @@
-- title t("phones.edit.page_title", :resource => @phone.mac_address)
+- content_for :title, t("phones.edit.page_title", :resource => @phone.mac_address)
= render "form"
diff --git a/app/views/phones/index.html.haml b/app/views/phones/index.html.haml
index 785adf9..4de7919 100644
--- a/app/views/phones/index.html.haml
+++ b/app/views/phones/index.html.haml
@@ -1,4 +1,4 @@
-- title t("phones.index.page_title")
+- content_for :title, t("phones.index.page_title")
- if @phones.count > 0
= render "index_core", :phones => @phones
diff --git a/app/views/phones/new.html.haml b/app/views/phones/new.html.haml
index ae0a539..95fbdf2 100644
--- a/app/views/phones/new.html.haml
+++ b/app/views/phones/new.html.haml
@@ -1,4 +1,4 @@
-- title t("phones.new.page_title")
+- content_for :title, t("phones.new.page_title")
- if !@fallback_sip_accounts.any? && can?(:create, current_user.current_tenant.sip_accounts.build)
%p
diff --git a/app/views/phones/show.html.haml b/app/views/phones/show.html.haml
index 0e0dad5..87b8d3d 100644
--- a/app/views/phones/show.html.haml
+++ b/app/views/phones/show.html.haml
@@ -1,4 +1,4 @@
-- title t("phones.show.page_title")
+- content_for :title, t("phones.show.page_title")
%p
%strong= t('phones.show.mac_address') + ":"