diff --git a/ckanext/odsh/public/base/images/Icon-facebook.png b/ckanext/odsh/public/base/images/Icon-facebook.png new file mode 100644 index 0000000000000000000000000000000000000000..821237f48ad3424f8e469c78f4856e28fd78e9ee Binary files /dev/null and b/ckanext/odsh/public/base/images/Icon-facebook.png differ diff --git a/ckanext/odsh/public/base/images/Icon-linkedin.png b/ckanext/odsh/public/base/images/Icon-linkedin.png new file mode 100644 index 0000000000000000000000000000000000000000..9a5fbdd4bb4702bd8404d079a72584a755be4b9d Binary files /dev/null and b/ckanext/odsh/public/base/images/Icon-linkedin.png differ diff --git a/ckanext/odsh/public/base/images/Icon-mail.png b/ckanext/odsh/public/base/images/Icon-mail.png new file mode 100644 index 0000000000000000000000000000000000000000..d16fccbdb1af17e75369a1ca58c1a47711755442 Binary files /dev/null and b/ckanext/odsh/public/base/images/Icon-mail.png differ diff --git a/ckanext/odsh/public/base/images/Icon-twitter.png b/ckanext/odsh/public/base/images/Icon-twitter.png new file mode 100644 index 0000000000000000000000000000000000000000..a688289b48acd3765d811f9143344719c0592f3d Binary files /dev/null and b/ckanext/odsh/public/base/images/Icon-twitter.png differ diff --git a/ckanext/odsh/public/base/images/Icon-xing.png b/ckanext/odsh/public/base/images/Icon-xing.png new file mode 100644 index 0000000000000000000000000000000000000000..f804bd13458f822c46b0b972206db7adf31773ff Binary files /dev/null and b/ckanext/odsh/public/base/images/Icon-xing.png differ diff --git a/ckanext/odsh/public/odsh.css b/ckanext/odsh/public/odsh.css index e54db9fcc19c0e2a30fbcf0e83961ff713b948a4..f538a1aa387c9bdadedf974c56ac642f3bce4a70 100644 --- a/ckanext/odsh/public/odsh.css +++ b/ckanext/odsh/public/odsh.css @@ -1252,3 +1252,7 @@ display: none; margin-top: 5px; color:#003064; } + +.share-links img { + width: 20px; +} diff --git a/ckanext/odsh/templates/package/snippets/info.html b/ckanext/odsh/templates/package/snippets/info.html index f5f8331438a506dce69c53a3661819cd6f4ffe6b..3e67621aaec07cfc1ae6a534a4c5cf9515bd9dc0 100644 --- a/ckanext/odsh/templates/package/snippets/info.html +++ b/ckanext/odsh/templates/package/snippets/info.html @@ -98,11 +98,11 @@ Example: {% set current_url = h.odsh_encodeurl(h.full_current_url()) %} <p>{{ _('share this dataset')}}:</p> <div class="share-links"> - <a href="https://www.linkedin.com/shareArticle?mini=true&url={{current_url}}" target="_blank"><i class="fa fa-linkedin"></i></a> - <a href="https://www.xing.com/app/user?op=share&url={{ current_url }}" target="_blank"><i class="fa fa-xing-square"></i></a> - <a href="https://www.facebook.com/sharer.php?href={{ current_url }}" target="_blank"><i class="fa fa-facebook-square"></i></a> - <a href="https://twitter.com/share?url={{ current_url }}" target="_blank"><i class="fa fa-twitter-square"></i></a> - <a href="mailto:?body={{ current_url }}" target="_blank"><i class="fa fa-envelope"></i></a> + <a href="https://www.linkedin.com/shareArticle?mini=true&url={{current_url}}" target="_blank"><img class='' src="/base/images/Icon-linkedin.png"/></a> + <a href="https://www.xing.com/app/user?op=share&url={{ current_url }}" target="_blank"><img class='' src="/base/images/Icon-xing.png"/></a> + <a href="https://www.facebook.com/sharer.php?href={{ current_url }}" target="_blank"><img class='' src="/base/images/Icon-facebook.png"/></a> + <a href="https://twitter.com/share?url={{ current_url }}" target="_blank"><img class='' src="/base/images/Icon-twitter.png"/></a> + <a href="mailto:?body={{ current_url }}" target="_blank"><img class='' src="/base/images/Icon-mail.png"/></a> </div> </div> {% endblock %}