filters.display_form.table=Table
filters.display_form.treemap=Treemap
filters.build_date=Build date
+filters.col.date=Build date
+filters.col.language=Language
+filters.col.name=Name
+filters.col.links=Links
+filters.col.version=Version
+filters.col.key=Key
+
#------------------------------------------------------------------------------
#
end
def column_title(column, filter)
- html=nil
if column.sortable?
- asc = (column.descending? || column.sort_direction.nil?)
html=link_to h(column.display_name), url_for(:overwrite_params => {:asc => (!(column.ascending?)).to_s, :sort => column.id})
else
html=h(column.display_name)
def name
if on_metric?
- Api::Utils.message("metric." + kee + ".name", :default => (metric ? metric.short_name : kee))
+ Api::Utils.message("metric.#{kee}.name", :default => (metric ? metric.short_name : kee))
else
- Api::Utils.message(family, :default => kee)
+ Api::Utils.message("filters.col.#{family}", :default => kee)
end
end