From 2723bee69f0f0a6d6471632dc2e10cdaaa224eff Mon Sep 17 00:00:00 2001 From: Evan Prodromou Date: Thu, 19 Nov 2009 13:20:55 -0500 Subject: [PATCH 1/3] add username and timestamp to map popup --- plugins/Mapstraction/usermap.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/plugins/Mapstraction/usermap.js b/plugins/Mapstraction/usermap.js index 41bdb677b4..3a1379b8d4 100644 --- a/plugins/Mapstraction/usermap.js +++ b/plugins/Mapstraction/usermap.js @@ -32,8 +32,10 @@ $(document).ready(function() { pt = new mxn.LatLonPoint(lat, lon); mkr = new mxn.Marker(pt); + mkr.setLabel(); mkr.setIcon(n['user']['profile_image_url']); - mkr.setInfoBubble(n['html']); + mkr.setInfoBubble('' + n['user']['screen_name'] + '' + ' ' + n['html'] + + '
'+ n['created_at'] + ''); mapstraction.addMarker(mkr); } From 269ccca9d48335f41eb6584d759f5c70de6847ee Mon Sep 17 00:00:00 2001 From: Sarven Capadisli Date: Thu, 19 Nov 2009 18:21:40 +0000 Subject: [PATCH 2/3] Updated max-width for profile and single notice page --- theme/base/css/display.css | 1 + 1 file changed, 1 insertion(+) diff --git a/theme/base/css/display.css b/theme/base/css/display.css index d5917953ff..e584fae43c 100644 --- a/theme/base/css/display.css +++ b/theme/base/css/display.css @@ -957,6 +957,7 @@ max-width:74%; #showstream .notice div.entry-content, #shownotice .notice div.entry-content { margin-left:0; +max-width:82%; } .notice .notice-options a, From 507c7e1e6b2772ec1c138378cc6ca3c3e3f8df9c Mon Sep 17 00:00:00 2001 From: Evan Prodromou Date: Thu, 19 Nov 2009 13:24:03 -0500 Subject: [PATCH 3/3] take out void setLabel() call in Mapstraction --- plugins/Mapstraction/usermap.js | 1 - 1 file changed, 1 deletion(-) diff --git a/plugins/Mapstraction/usermap.js b/plugins/Mapstraction/usermap.js index 3a1379b8d4..270b7efea0 100644 --- a/plugins/Mapstraction/usermap.js +++ b/plugins/Mapstraction/usermap.js @@ -32,7 +32,6 @@ $(document).ready(function() { pt = new mxn.LatLonPoint(lat, lon); mkr = new mxn.Marker(pt); - mkr.setLabel(); mkr.setIcon(n['user']['profile_image_url']); mkr.setInfoBubble('' + n['user']['screen_name'] + '' + ' ' + n['html'] + '
'+ n['created_at'] + '');