Skip to content

Commit

Permalink
Remove plusone (Closes #4929)
Browse files Browse the repository at this point in the history
  • Loading branch information
LiliGuimaraes committed Oct 13, 2019
1 parent 8c02237 commit 4f19cb4
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 32 deletions.
11 changes: 0 additions & 11 deletions geonode/documents/templates/documents/document_detail.html
Original file line number Diff line number Diff line change
Expand Up @@ -251,17 +251,6 @@ <h4>{% trans "Permissions" %}</h4>
{% endif %}
{% include 'rating.html' %}
{% include 'request_download.html' %}
{% if DISPLAY_SOCIAL %}
<script type="text/javascript">
{% autoescape off %}
(function() {
var po = document.createElement('script'); po.type = 'text/javascript'; po.async = true;
po.src = 'https://apis.google.com/js/plusone.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(po, s);
})();
{% endautoescape %}
</script>
{% endif %}
{% include "_permissions_form_js.html" %}

{% if FAVORITE_ENABLED %}
Expand Down
10 changes: 0 additions & 10 deletions geonode/layers/templates/layers/layer_detail.html
Original file line number Diff line number Diff line change
Expand Up @@ -747,16 +747,6 @@ <h1>{% trans "Processing..." %}</h1>
{% endif %}
{% include 'rating.html' %}
{% include 'request_download.html' %}
{% if DISPLAY_SOCIAL %}
{% autoescape off %}
<script type='text/javascript'>
(function() {
var po = document.createElement('script'); po.type = 'text/javascript'; po.async = true;
po.src = 'https://apis.google.com/js/plusone.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(po, s);
})();
{% endautoescape %}
{% endif %}
$("#comment_submit_btn").click(function(event) {
$.ajax({
type: "POST",
Expand Down
7 changes: 0 additions & 7 deletions geonode/maps/templates/maps/map_detail.html
Original file line number Diff line number Diff line change
Expand Up @@ -376,13 +376,6 @@ <h4 class="modal-title" id="myModalLabel">{% trans "Embed Widget" %}</h4>
};
{% endverbatim %}
});
{% if DISPLAY_SOCIAL %}
(function() {
var po = document.createElement('script'); po.type = 'text/javascript'; po.async = true;
po.src = 'https://apis.google.com/js/plusone.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(po, s);
})();
{% endif %}
$("#comment_submit_btn").click(function(event) {
$.ajax({
type: "POST",
Expand Down
4 changes: 0 additions & 4 deletions geonode/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -999,10 +999,6 @@
"label": "Twitter",
"url": "https://twitter.com/share?url={url}&hashtags={hashtags}",
"css_class": "tw"
}, {
"label": "Google +",
"url": "https://plus.google.com/share?url={url}",
"css_class": "gp"
}]

# CKAN Query String Parameters names pulled from
Expand Down

0 comments on commit 4f19cb4

Please sign in to comment.