diff options
Diffstat (limited to 'web/viewsjs')
-rw-r--r-- | web/viewsjs/key.js.erb | 10 | ||||
-rw-r--r-- | web/viewsjs/reports/josm_styles.js.erb | 8 | ||||
-rw-r--r-- | web/viewsjs/tag.js.erb | 10 |
3 files changed, 14 insertions, 14 deletions
diff --git a/web/viewsjs/key.js.erb b/web/viewsjs/key.js.erb index 4b76395..fc433cc 100644 --- a/web/viewsjs/key.js.erb +++ b/web/viewsjs/key.js.erb @@ -20,7 +20,7 @@ var create_flexigrid_for = { page: 1, rows: jQuery.map(data.data, function(row, i) { return { 'cell': [ - print_image(row.type) + ' ' + texts.osm[row.type], + fmt_image(row.type) + ' ' + texts.osm[row.type], print_value_with_percent(row.count, row.count_fraction), print_with_ts(row.values) ]}; @@ -132,10 +132,10 @@ var create_flexigrid_for = { preProcess: function(data) { data.rows = jQuery.map(data.data, function(row, i) { return { 'cell': [ - print_josm_value(row.key, row.value, row.value_bool), - print_josm_icon('standard', row.icon), - print_josm_line(row.line_width, row.line_color), - print_josm_area(row.area_color) + fmt_josm_value(row.key, row.value, row.value_bool), + fmt_josm_icon('standard', row.icon), + fmt_josm_line(row.line_width, row.line_color), + fmt_josm_area(row.area_color) ] }; }); return data; diff --git a/web/viewsjs/reports/josm_styles.js.erb b/web/viewsjs/reports/josm_styles.js.erb index 157f223..4e0db90 100644 --- a/web/viewsjs/reports/josm_styles.js.erb +++ b/web/viewsjs/reports/josm_styles.js.erb @@ -21,10 +21,10 @@ function create_flexigrid_with_option(stylename) { data.rows = jQuery.map(data.data, function(row, i) { return { 'cell': [ link_to_key(row.key), - print_josm_value(row.key, row.value, row.value_bool), - print_josm_icon('standard', row.icon), - print_josm_line(row.line_width, row.line_color), - print_josm_area(row.area_color) + fmt_josm_value(row.key, row.value, row.value_bool), + fmt_josm_icon('standard', row.icon), + fmt_josm_line(row.line_width, row.line_color), + fmt_josm_area(row.area_color) ] }; }); return data; diff --git a/web/viewsjs/tag.js.erb b/web/viewsjs/tag.js.erb index fe1e7fc..03525f5 100644 --- a/web/viewsjs/tag.js.erb +++ b/web/viewsjs/tag.js.erb @@ -29,7 +29,7 @@ var create_flexigrid_for = { page: 1, rows: jQuery.map(data.data, function(row, i) { return { 'cell': [ - print_image(row.type) + ' ' + texts.osm[row.type], + fmt_image(row.type) + ' ' + texts.osm[row.type], print_value_with_percent(row.count, row.count_fraction) ]}; }) @@ -114,10 +114,10 @@ var create_flexigrid_for = { preProcess: function(data) { data.rows = jQuery.map(data.data, function(row, i) { return { 'cell': [ - print_josm_value(row.key, row.value, row.value_bool), - print_josm_icon('standard', row.icon), - print_josm_line(row.line_width, row.line_color), - print_josm_area(row.area_color) + fmt_josm_value(row.key, row.value, row.value_bool), + fmt_josm_icon('standard', row.icon), + fmt_josm_line(row.line_width, row.line_color), + fmt_josm_area(row.area_color) ] }; }); return data; |