diff --git a/app/views/content_viewer/view_page.rhtml b/app/views/content_viewer/view_page.rhtml index 31c7e75..4f85295 100644 --- a/app/views/content_viewer/view_page.rhtml +++ b/app/views/content_viewer/view_page.rhtml @@ -60,7 +60,6 @@ addthis_options = '<%= escape_javascript( NOOSFERO_CONF['addthis_options'] ) %>'; <%= addthis_image_tag %> - <% end %> diff --git a/app/views/layouts/application-ng.rhtml b/app/views/layouts/application-ng.rhtml index dcf6179..4468298 100644 --- a/app/views/layouts/application-ng.rhtml +++ b/app/views/layouts/application-ng.rhtml @@ -57,5 +57,8 @@ <%= noosfero_layout_features %> <%= theme_javascript_ng %> + <% if NOOSFERO_CONF['addthis_enabled'] %> + + <% end %> -- libgit2 0.21.2