summaryrefslogtreecommitdiff
path: root/web/viewsjs/key.js.erb
diff options
context:
space:
mode:
authorJochen Topf <jochen@topf.org>2013-01-11 09:52:57 +0100
committerJochen Topf <jochen@topf.org>2013-01-11 09:52:57 +0100
commitb08c013ab6a32a90c428e2ec52b217b1b812390f (patch)
treeaff893397d696fc981310fd660507f4b86c78fbb /web/viewsjs/key.js.erb
parentb11c37b6f078afe87de4c9663271c203e96177c4 (diff)
downloadtaginfo-b08c013ab6a32a90c428e2ec52b217b1b812390f.tar
taginfo-b08c013ab6a32a90c428e2ec52b217b1b812390f.tar.gz
Optimized column width in tables
Diffstat (limited to 'web/viewsjs/key.js.erb')
-rw-r--r--web/viewsjs/key.js.erb8
1 files changed, 4 insertions, 4 deletions
diff --git a/web/viewsjs/key.js.erb b/web/viewsjs/key.js.erb
index dbc5faf..aceef99 100644
--- a/web/viewsjs/key.js.erb
+++ b/web/viewsjs/key.js.erb
@@ -34,7 +34,7 @@ var create_flexigrid_for = {
url: '/api/4/key/values?key=' + encodeURIComponent(key) + '&filter=' + encodeURIComponent(filter_type) + '&lang=' + encodeURIComponent(lang),
colModel: [
{ display: '<%= osm.value %>', name: 'value', width: 200, sortable: true },
- { display: '<%= misc.count %>', name: 'count', width: 240, sortable: true, align: 'center' },
+ { display: '<%= misc.count %>', name: 'count', width: 260, sortable: true, align: 'center' },
{ display: '<span title="<%= page.tag_description_from_wiki %>"><%= misc.description %></span>', name: 'description', width: 600, sortable: false, align: 'left' }
],
searchitems: [
@@ -59,9 +59,9 @@ var create_flexigrid_for = {
create_flexigrid('grid-keys', {
url: '/api/4/key/combinations?key=' + encodeURIComponent(key) + '&filter=' + encodeURIComponent(filter_type),
colModel: [
- { display: '<span title="<%= page.other_keys_used.to_count_tooltip %>"><%= misc.count %> &rarr;</span>', name: 'to_count', width: 320, sortable: true, align: 'center' },
- { display: '<span title="<%= page.other_keys_used.other_key_tooltip %>"><%= page.other_keys_used.other %></span>', name: 'other_key', width: 340, sortable: true },
- { display: '<span title="<%= page.other_keys_used.from_count_tooltip %>">&rarr; <%= misc.count %></span>', name: 'from_count', width: 320, sortable: true, align: 'center' }
+ { display: '<span title="<%= page.other_keys_used.to_count_tooltip %>"><%= misc.count %> &rarr;</span>', name: 'to_count', width: 260, sortable: true, align: 'center' },
+ { display: '<span title="<%= page.other_keys_used.other_key_tooltip %>"><%= page.other_keys_used.other %></span>', name: 'other_key', width: 400, sortable: true },
+ { display: '<span title="<%= page.other_keys_used.from_count_tooltip %>">&rarr; <%= misc.count %></span>', name: 'from_count', width: 260, sortable: true, align: 'center' }
],
searchitems: [
{ display: '<%= page.other_keys_used.other %>', name: 'other_key' }