summaryrefslogtreecommitdiff
path: root/app/views/tenants/_gs_parameter_table.html.haml
blob: 407f6e3416a5a88ccb041e3f0d17b41c9c51ffe1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
- 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'}
    %tr
      %th
        Funktion
      %th
        Anzahl
      %th
        Letztes Update

    %tr
      %td
        = t("gui_functions.name")
      %td
        = link_to GuiFunction.count.to_s, gui_functions_path
      %td
        = l GuiFunction.reorder(:updated_at).last.updated_at, :format => :short 
    %tr
      %td
        = t("gs_parameters.name")
      %td
        = link_to GsParameter.count.to_s, gs_parameters_path
      %td
        = l GsParameter.reorder(:updated_at).last.updated_at, :format => :short