diff options
author | Stefan Wintermeyer <stefan.wintermeyer@amooma.de> | 2013-01-26 20:11:45 +0100 |
---|---|---|
committer | Stefan Wintermeyer <stefan.wintermeyer@amooma.de> | 2013-01-26 20:11:45 +0100 |
commit | 680073d4cf7619bddfb7f79ea9e538a33d9dcdee (patch) | |
tree | 80164c8e9c8d70cb9384e5a02743d65ae3180bfa /app/views/tenants | |
parent | 6d5cc233d0db71f826a27c9151d0af121d0fe616 (diff) |
Refactoring
Diffstat (limited to 'app/views/tenants')
-rw-r--r-- | app/views/tenants/_gs_parameter_table.html.haml | 2 | ||||
-rw-r--r-- | app/views/tenants/_index_core.html.haml | 2 | ||||
-rw-r--r-- | app/views/tenants/show.html.haml | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/app/views/tenants/_gs_parameter_table.html.haml b/app/views/tenants/_gs_parameter_table.html.haml index 1bcb914..8b0d62c 100644 --- a/app/views/tenants/_gs_parameter_table.html.haml +++ b/app/views/tenants/_gs_parameter_table.html.haml @@ -1,5 +1,5 @@ - cache(['gs_parameters_tenant_overview_table', I18n.locale, tenant, GuiFunction.count, GuiFunction.reorder(:updated_at).last, GsParameter.count, GsParameter.reorder(:updated_at).last]) do - %table{:class => 'table table-striped'} + %table.table.table-striped %thead %tr %th diff --git a/app/views/tenants/_index_core.html.haml b/app/views/tenants/_index_core.html.haml index fd7fabc..a220b1b 100644 --- a/app/views/tenants/_index_core.html.haml +++ b/app/views/tenants/_index_core.html.haml @@ -1,4 +1,4 @@ -%table{:class => 'table table-striped'} +%table.table.table-striped %thead %tr %th= t('tenants.index.name') diff --git a/app/views/tenants/show.html.haml b/app/views/tenants/show.html.haml index 532d5d5..818e584 100644 --- a/app/views/tenants/show.html.haml +++ b/app/views/tenants/show.html.haml @@ -1,6 +1,6 @@ - content_for :title, @tenant.name -%table{:class => 'table table-striped'} +%table.table.table-striped %tbody %tr %td |