aboutsummaryrefslogtreecommitdiff
path: root/web/viewsjs
diff options
context:
space:
mode:
authorJochen Topf <jochen@topf.org>2014-09-06 23:23:45 +0200
committerJochen Topf <jochen@topf.org>2014-09-06 23:23:45 +0200
commit64c631b8022b9901ecf86929a3d57ee0debb338d (patch)
treefd778cdeb946e4f214c8764614da27d19cd272bb /web/viewsjs
parent543a4a540b4f33e1933777a6bb47a3978bedf5c4 (diff)
downloadtaginfo-64c631b8022b9901ecf86929a3d57ee0debb338d.tar
taginfo-64c631b8022b9901ecf86929a3d57ee0debb338d.tar.gz
Fix project description view.
Diffstat (limited to 'web/viewsjs')
-rw-r--r--web/viewsjs/project.js.erb5
1 files changed, 3 insertions, 2 deletions
diff --git a/web/viewsjs/project.js.erb b/web/viewsjs/project.js.erb
index 435b07f..6636092 100644
--- a/web/viewsjs/project.js.erb
+++ b/web/viewsjs/project.js.erb
@@ -1,6 +1,7 @@
<%
osm = @trans.t.osm
misc = @trans.t.misc
+ page = @trans.t.pages.project
%>
var create_flexigrid_for = {
tags: function(project) {
@@ -9,7 +10,7 @@ var create_flexigrid_for = {
colModel: [
{ display: '<%= h(osm.tag) %>', name: 'tag', width: 260, sortable: true },
{ display: '<%= h(osm.objects) %>', name: 'objects', width: 80, sortable: false },
- { display: '<%= h(misc.description) %>', name: 'description', width: 800, sortable: false, align: 'left' }
+ { display: '<%= h(page.tags.description) %>', name: 'description', width: 800, sortable: false, align: 'left' }
],
searchitems: [
{ display: '<%= h(osm.key) %>/<%= h(osm.value) %>', name: 'key_value' }
@@ -24,7 +25,7 @@ var create_flexigrid_for = {
fmt_type_icon('way', row.on_way) +
fmt_type_icon('area', row.on_area) +
fmt_type_icon('relation', row.on_relation),
- project_tag_desc(row.description, row.doc_url, row.icon_url)
+ project_tag_desc(row.description, row.icon_url, row.doc_url)
] };
});
delete data.data;