summaryrefslogtreecommitdiff
path: root/app/views/sip_domains
diff options
context:
space:
mode:
authorStefan Wintermeyer <stefan.wintermeyer@amooma.de>2013-01-22 15:33:06 +0100
committerStefan Wintermeyer <stefan.wintermeyer@amooma.de>2013-01-22 15:33:06 +0100
commit39aa7132ceed3d4beab3a9b828e571bbfc67c07e (patch)
tree6c88289c9f99be0af8635636fcdf64102090e5ec /app/views/sip_domains
parent5ad8203ce4f1bfea997960d0b52c626dea24b944 (diff)
parent6f69c1a85055ec7c2515719d79d2a7a4e60cec50 (diff)
Merge branch 'develop'5.1-beta1
Diffstat (limited to 'app/views/sip_domains')
-rw-r--r--app/views/sip_domains/_index_core.html.haml6
-rw-r--r--app/views/sip_domains/edit.html.haml2
-rw-r--r--app/views/sip_domains/index.html.haml2
-rw-r--r--app/views/sip_domains/new.html.haml2
-rw-r--r--app/views/sip_domains/show.html.haml2
5 files changed, 7 insertions, 7 deletions
diff --git a/app/views/sip_domains/_index_core.html.haml b/app/views/sip_domains/_index_core.html.haml
index 37374f2..d26fd1b 100644
--- a/app/views/sip_domains/_index_core.html.haml
+++ b/app/views/sip_domains/_index_core.html.haml
@@ -1,11 +1,11 @@
-%table
+%table{:class => 'table table-striped'}
%tr
%th= t('sip_domains.index.host')
%th= t('sip_domains.index.realm')
- - reset_cycle
+
- for sip_domain in sip_domains
- %tr{:class => cycle('odd', 'even')}
+ %tr
%td= sip_domain.host
%td= sip_domain.realm
=render :partial => 'shared/index_view_edit_destroy_part', :locals => {:child => sip_domain} \ No newline at end of file
diff --git a/app/views/sip_domains/edit.html.haml b/app/views/sip_domains/edit.html.haml
index dcf8d6b..adf77ef 100644
--- a/app/views/sip_domains/edit.html.haml
+++ b/app/views/sip_domains/edit.html.haml
@@ -1,3 +1,3 @@
-- title t("sip_domains.edit.page_title")
+- content_for :title, t("sip_domains.edit.page_title")
= render "form"
diff --git a/app/views/sip_domains/index.html.haml b/app/views/sip_domains/index.html.haml
index 6de7f42..3eb0c28 100644
--- a/app/views/sip_domains/index.html.haml
+++ b/app/views/sip_domains/index.html.haml
@@ -1,4 +1,4 @@
-- title t("sip_domains.index.page_title")
+- content_for :title, t("sip_domains.index.page_title")
- if @sip_domains.count > 0
= render "index_core", :sip_domains => @sip_domains
diff --git a/app/views/sip_domains/new.html.haml b/app/views/sip_domains/new.html.haml
index 12ff340..863e680 100644
--- a/app/views/sip_domains/new.html.haml
+++ b/app/views/sip_domains/new.html.haml
@@ -1,3 +1,3 @@
-- title t("sip_domains.new.page_title")
+- content_for :title, t("sip_domains.new.page_title")
= render "form"
diff --git a/app/views/sip_domains/show.html.haml b/app/views/sip_domains/show.html.haml
index e136eaf..b7b74cd 100644
--- a/app/views/sip_domains/show.html.haml
+++ b/app/views/sip_domains/show.html.haml
@@ -1,4 +1,4 @@
-- title t("sip_domains.show.page_title")
+- content_for :title, t("sip_domains.show.page_title")
%p
%strong= t('sip_domains.show.host') + ":"