From 7ec182a3b3403349f050a671a16f4c6ffe5fa0fc Mon Sep 17 00:00:00 2001 From: tonylampada Date: Thu, 28 Aug 2014 23:25:02 -0300 Subject: [PATCH] #209 still a few replaces left --- djangoproject/sandbox/views.py | 6 +++--- djangoproject/statfiles/static/js/fsapi_mock.js | 2 +- .../statfiles/static/js/issuecards/issuecard_sponsored.html | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/djangoproject/sandbox/views.py b/djangoproject/sandbox/views.py index 477470ac..e9037478 100644 --- a/djangoproject/sandbox/views.py +++ b/djangoproject/sandbox/views.py @@ -13,9 +13,9 @@ def home(request): {"status": "open", "viewcount": -1, "four_sponsors": [], "description": "Criar CSS para as janelas Modal do Freedom Sponsors", "project_link": "/search/?s=&project_id=1&project_name=www.freedomsponsors.org", "image_link": "/static/media/project_images/image3x1_1_20130711021828.png", "sponsor_status": "PROPOSED", "totalOffersPriceUSD": "0.00", "moresponsors": 0, "id": 12, "title": "CSS Modal", "totalPaidPriceUSD": "0.00", "commentcount": 0} ] issues_sponsoring = [ - {"status": "open", "viewcount": -1, "four_sponsors": [{"image_link": "http://www.gravatar.com/avatar/4dbc40e7a6fa89a3568a926378c22ace?d=identicon&s=50", "screen_name": "TonyFran\\u00e7a"}], "description": "Remove all dependencies described in https://github.com/freedomsponsors/www.freedomsponsors.org/issues/146, except django-registration.", "project_link": "/search/?s=&project_id=1&project_name=www.freedomsponsors.org", "image_link": "/static/media/project_images/image3x1_1_20130711021828.png", "sponsor_status": "SPONSORED", "totalOffersPriceUSD": "32.00", "totalOffersPriceBTC": "0.00", "moresponsors": 0, "id": 23, "title": "Remove dependencies", "totalPaidPriceUSD": "0.00", "totalPaidPriceBTC": "0.00", "commentcount": 0}, - {"status": "open", "viewcount": -1, "four_sponsors": [{"image_link": "http://www.gravatar.com/avatar/4dbc40e7a6fa89a3568a926378c22ace?d=identicon&s=50", "screen_name": "TonyFran\\u00e7a"}], "description": "", "project_link": "/search/?s=&project_id=1&project_name=www.freedomsponsors.org", "image_link": "/static/media/project_images/image3x1_1_20130711021828.png", "sponsor_status": "SPONSORED", "totalOffersPriceUSD": "12.00", "totalOffersPriceBTC": "0.00", "moresponsors": 0, "id": 22, "title": "Google error", "totalPaidPriceUSD": "0.00", "totalPaidPriceBTC": "0.00", "commentcount": 0}, - {"status": "open", "viewcount": -1, "four_sponsors": [{"image_link": "http://www.gravatar.com/avatar/4dbc40e7a6fa89a3568a926378c22ace?d=identicon&s=50", "screen_name": "TonyFran\\u00e7a"}], "description": "atirei o pau no gato", "project_link": "/search/?s=&project_id=1&project_name=www.freedomsponsors.org", "image_link": "/static/media/project_images/image3x1_1_20130711021828.png", "sponsor_status": "SPONSORED", "totalOffersPriceUSD": "32.00", "totalOffersPriceBTC": "0.00", "moresponsors": 0, "id": 21, "title": "blaublau", "totalPaidPriceUSD": "0.00", "totalPaidPriceBTC": "0.00", "commentcount": 0} + {"status": "open", "viewcount": -1, "four_sponsors": [{"image_link": "http://www.gravatar.com/avatar/4dbc40e7a6fa89a3568a926378c22ace?d=identicon&s=50", "username": "TonyFran\\u00e7a"}], "description": "Remove all dependencies described in https://github.com/freedomsponsors/www.freedomsponsors.org/issues/146, except django-registration.", "project_link": "/search/?s=&project_id=1&project_name=www.freedomsponsors.org", "image_link": "/static/media/project_images/image3x1_1_20130711021828.png", "sponsor_status": "SPONSORED", "totalOffersPriceUSD": "32.00", "totalOffersPriceBTC": "0.00", "moresponsors": 0, "id": 23, "title": "Remove dependencies", "totalPaidPriceUSD": "0.00", "totalPaidPriceBTC": "0.00", "commentcount": 0}, + {"status": "open", "viewcount": -1, "four_sponsors": [{"image_link": "http://www.gravatar.com/avatar/4dbc40e7a6fa89a3568a926378c22ace?d=identicon&s=50", "username": "TonyFran\\u00e7a"}], "description": "", "project_link": "/search/?s=&project_id=1&project_name=www.freedomsponsors.org", "image_link": "/static/media/project_images/image3x1_1_20130711021828.png", "sponsor_status": "SPONSORED", "totalOffersPriceUSD": "12.00", "totalOffersPriceBTC": "0.00", "moresponsors": 0, "id": 22, "title": "Google error", "totalPaidPriceUSD": "0.00", "totalPaidPriceBTC": "0.00", "commentcount": 0}, + {"status": "open", "viewcount": -1, "four_sponsors": [{"image_link": "http://www.gravatar.com/avatar/4dbc40e7a6fa89a3568a926378c22ace?d=identicon&s=50", "username": "TonyFran\\u00e7a"}], "description": "atirei o pau no gato", "project_link": "/search/?s=&project_id=1&project_name=www.freedomsponsors.org", "image_link": "/static/media/project_images/image3x1_1_20130711021828.png", "sponsor_status": "SPONSORED", "totalOffersPriceUSD": "32.00", "totalOffersPriceBTC": "0.00", "moresponsors": 0, "id": 21, "title": "blaublau", "totalPaidPriceUSD": "0.00", "totalPaidPriceBTC": "0.00", "commentcount": 0} ] context = { 'issues_kickstarting': json.dumps(issues_kickstarting), diff --git a/djangoproject/statfiles/static/js/fsapi_mock.js b/djangoproject/statfiles/static/js/fsapi_mock.js index 8defc44e..d4a3d2f7 100644 --- a/djangoproject/statfiles/static/js/fsapi_mock.js +++ b/djangoproject/statfiles/static/js/fsapi_mock.js @@ -82,7 +82,7 @@ function random_sponsors(num){ for(var i=0; i
- {[{ sponsor.screen_name }]} + {[{ sponsor.username }]}