Commit 6425451ce85873cc6bd4a9fd48dbe6a06e9a9ea7
Exists in
master
and in
29 other branches
Merge commit 'refs/merge-requests/322' of git://gitorious.org/noosfero/noosfero …
…into merge-requests/322
Showing
2 changed files
with
3 additions
and
1 deletions
Show diff stats
app/views/content_viewer/view_page.rhtml
... | ... | @@ -60,7 +60,6 @@ |
60 | 60 | addthis_options = '<%= escape_javascript( NOOSFERO_CONF['addthis_options'] ) %>'; |
61 | 61 | </script> |
62 | 62 | <a href="http://www.addthis.com/bookmark.php" id="bt_addThis" target="_blank" onmouseover="return addthis_open(this, '', '[URL]')" onmouseout="addthis_close()" onclick="return addthis_sendto()"><%= addthis_image_tag %></a> |
63 | -<script type="text/javascript" src="http://s7.addthis.com/js/152/addthis_widget.js"></script> | |
64 | 63 | </div> |
65 | 64 | <% end %> |
66 | 65 | ... | ... |
app/views/layouts/application-ng.rhtml
... | ... | @@ -57,5 +57,8 @@ |
57 | 57 | </div><!-- end id="theme-footer" --> |
58 | 58 | <%= noosfero_layout_features %> |
59 | 59 | <%= theme_javascript_ng %> |
60 | + <% if NOOSFERO_CONF['addthis_enabled'] %> | |
61 | + <script src="http://s7.addthis.com/js/152/addthis_widget.js"></script> | |
62 | + <% end %> | |
60 | 63 | </body> |
61 | 64 | </html> | ... | ... |