diff --git a/akvo/rsr/views_partner_sites/base.py b/akvo/rsr/views_partner_sites/base.py index fb84b20ac6..9e7ef1c3b2 100644 --- a/akvo/rsr/views_partner_sites/base.py +++ b/akvo/rsr/views_partner_sites/base.py @@ -99,7 +99,8 @@ def get_context_data(self, **kwargs): 'updates': updates, 'updates_with_images': updates_with_images, 'can_add_update': privileged_user, - 'draft': draft + 'draft': draft, + 'fb_app_id': getattr(settings, 'FB_APP_ID', ''), }) return context diff --git a/akvo/settings/20-default.conf b/akvo/settings/20-default.conf index b64008875d..6de5ecdb93 100644 --- a/akvo/settings/20-default.conf +++ b/akvo/settings/20-default.conf @@ -60,3 +60,6 @@ USE_L10N = True # Piwik settings PIWIK_URL = 'http://analytics.akvo.org/' PIWIK_SITE_ID = 1 + +#Social media settings +FB_APP_ID = 188270094690212 \ No newline at end of file diff --git a/akvo/templates/partner_sites/project/project_main.html b/akvo/templates/partner_sites/project/project_main.html index 3179c4037c..0d88eada74 100644 --- a/akvo/templates/partner_sites/project/project_main.html +++ b/akvo/templates/partner_sites/project/project_main.html @@ -12,6 +12,7 @@ {% else %} {% endif %} + {% comment %}