summaryrefslogtreecommitdiff
path: root/app/views/access_authorizations
diff options
context:
space:
mode:
authorStefan Wintermeyer <stefan.wintermeyer@amooma.de>2013-01-22 00:04:03 +0100
committerStefan Wintermeyer <stefan.wintermeyer@amooma.de>2013-01-22 00:04:03 +0100
commitab63774d954fe1f967a97ffe5a0a66016eca2257 (patch)
treeb3974a58deabe6a989ad7352f10e75d7495cb0c5 /app/views/access_authorizations
parent495bbfdf78206c8adaec057e83900dda6754092c (diff)
parentf8bc860750f06ab95f9ced8e919e846d3e589819 (diff)
Merge branch 'tb-css' into develop
Diffstat (limited to 'app/views/access_authorizations')
-rw-r--r--app/views/access_authorizations/_index_core.html.haml6
-rw-r--r--app/views/access_authorizations/edit.html.haml2
-rw-r--r--app/views/access_authorizations/index.html.haml2
-rw-r--r--app/views/access_authorizations/new.html.haml2
-rw-r--r--app/views/access_authorizations/show.html.haml2
5 files changed, 7 insertions, 7 deletions
diff --git a/app/views/access_authorizations/_index_core.html.haml b/app/views/access_authorizations/_index_core.html.haml
index 083b16b..7469a1d 100644
--- a/app/views/access_authorizations/_index_core.html.haml
+++ b/app/views/access_authorizations/_index_core.html.haml
@@ -1,15 +1,15 @@
-%table
+%table{:class => 'table table-striped'}
%tr
%th= t('access_authorizations.index.name')
%th= t('access_authorizations.index.login')
%th= t('access_authorizations.index.pin')
%th= t('callthroughs.index.phone_numbers')
- - reset_cycle
+
- for access_authorization in access_authorizations
- show_path_method = method( :"#{access_authorization.access_authorizationable.class.name.underscore}_access_authorization_path" )
- edit_path_method = method( :"edit_#{access_authorization.access_authorizationable.class.name.underscore}_access_authorization_path" )
- %tr{:class => cycle('odd', 'even')}
+ %tr
%td= access_authorization.name
%td= access_authorization.login
%td= access_authorization.pin
diff --git a/app/views/access_authorizations/edit.html.haml b/app/views/access_authorizations/edit.html.haml
index 414f094..b05c23e 100644
--- a/app/views/access_authorizations/edit.html.haml
+++ b/app/views/access_authorizations/edit.html.haml
@@ -1,3 +1,3 @@
-- title t("access_authorizations.edit.page_title")
+- content_for :title, t("access_authorizations.edit.page_title")
= render "form"
diff --git a/app/views/access_authorizations/index.html.haml b/app/views/access_authorizations/index.html.haml
index 05b27db..7a0dfd3 100644
--- a/app/views/access_authorizations/index.html.haml
+++ b/app/views/access_authorizations/index.html.haml
@@ -1,4 +1,4 @@
-- title t("access_authorizations.index.page_title")
+- content_for :title, t("access_authorizations.index.page_title")
- if @access_authorizations.count > 0
= render "index_core", :access_authorizations => @access_authorizations
diff --git a/app/views/access_authorizations/new.html.haml b/app/views/access_authorizations/new.html.haml
index 0bbf16c..f1ba872 100644
--- a/app/views/access_authorizations/new.html.haml
+++ b/app/views/access_authorizations/new.html.haml
@@ -1,3 +1,3 @@
-- title t("access_authorizations.new.page_title")
+- content_for :title, t("access_authorizations.new.page_title")
= render "form"
diff --git a/app/views/access_authorizations/show.html.haml b/app/views/access_authorizations/show.html.haml
index 17d1d9b..f39a509 100644
--- a/app/views/access_authorizations/show.html.haml
+++ b/app/views/access_authorizations/show.html.haml
@@ -1,4 +1,4 @@
-- title t("access_authorizations.show.page_title")
+- content_for :title, t("access_authorizations.show.page_title")
%p
%strong= t('access_authorizations.show.name') + ":"