summaryrefslogtreecommitdiff
path: root/app/views/tenants/_gs_parameter_table.html.haml
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/tenants/_gs_parameter_table.html.haml
parent495bbfdf78206c8adaec057e83900dda6754092c (diff)
parentf8bc860750f06ab95f9ced8e919e846d3e589819 (diff)
Merge branch 'tb-css' into develop
Diffstat (limited to 'app/views/tenants/_gs_parameter_table.html.haml')
-rw-r--r--app/views/tenants/_gs_parameter_table.html.haml12
1 files changed, 6 insertions, 6 deletions
diff --git a/app/views/tenants/_gs_parameter_table.html.haml b/app/views/tenants/_gs_parameter_table.html.haml
index 94c44e5..8afdb0e 100644
--- a/app/views/tenants/_gs_parameter_table.html.haml
+++ b/app/views/tenants/_gs_parameter_table.html.haml
@@ -1,6 +1,6 @@
- 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
- %tr{:class => 'even'}
+ %table{:class => 'table table-striped'}
+ %tr
%th
Funktion
%th
@@ -8,17 +8,17 @@
%th
Letztes Update
- %tr{:class => 'odd'}
+ %tr
%td
= t("gui_functions.name")
%td
- = link_to GuiFunction.count.to_s, gui_functions_path
+ = link_to link_to Haml::Engine.new("%i.icon-list").render + ' ' + GuiFunction.count.to_s, gui_functions_path
%td
= l GuiFunction.reorder(:updated_at).last.updated_at, :format => :short
- %tr{:class => 'even'}
+ %tr
%td
= t("gs_parameters.name")
%td
- = link_to GsParameter.count.to_s, gs_parameters_path
+ = link_to link_to Haml::Engine.new("%i.icon-list").render + ' ' + GsParameter.count.to_s, gs_parameters_path
%td
= l GsParameter.reorder(:updated_at).last.updated_at, :format => :short