summaryrefslogtreecommitdiff
path: root/app/views/user_groups
diff options
context:
space:
mode:
authorStefan Wintermeyer <stefan.wintermeyer@amooma.de>2013-01-26 20:11:45 +0100
committerStefan Wintermeyer <stefan.wintermeyer@amooma.de>2013-01-26 20:11:45 +0100
commit680073d4cf7619bddfb7f79ea9e538a33d9dcdee (patch)
tree80164c8e9c8d70cb9384e5a02743d65ae3180bfa /app/views/user_groups
parent6d5cc233d0db71f826a27c9151d0af121d0fe616 (diff)
Refactoring
Diffstat (limited to 'app/views/user_groups')
-rw-r--r--app/views/user_groups/_index_core.html.haml2
-rw-r--r--app/views/user_groups/show.html.haml2
2 files changed, 2 insertions, 2 deletions
diff --git a/app/views/user_groups/_index_core.html.haml b/app/views/user_groups/_index_core.html.haml
index aa1497e..a85e8c4 100644
--- a/app/views/user_groups/_index_core.html.haml
+++ b/app/views/user_groups/_index_core.html.haml
@@ -1,5 +1,5 @@
- cache(['user_groups_table', I18n.locale, current_user, @user, user_groups, User.order(:updated_at).last, User.count, UserGroupMembership.count, GsParameter.get('NUMBER_OF_SHOWN_ITEMS')]) do
- %table{:class => 'table table-striped'}
+ %table.table.table-striped
%thead
%tr
%th= t('user_groups.index.name')
diff --git a/app/views/user_groups/show.html.haml b/app/views/user_groups/show.html.haml
index 920f772..fd5414e 100644
--- a/app/views/user_groups/show.html.haml
+++ b/app/views/user_groups/show.html.haml
@@ -1,6 +1,6 @@
- content_for :title, t("user_groups.show.page_title")
-%table{:class => 'table table-striped'}
+%table.table.table-striped
%tbody
%tr
%td