Make AltMetric enabled by default

This commit is contained in:
Graham Triggs 2016-07-28 22:10:58 +01:00
parent 83534d49be
commit 2dbceba9f1

View file

@ -181,7 +181,7 @@ class IndividualResponseBuilder {
ConfigurationProperties properties = ConfigurationProperties.getBean(vreq); ConfigurationProperties properties = ConfigurationProperties.getBean(vreq);
if (properties != null) { if (properties != null) {
String enabled = properties.getProperty("resource.altmetric"); //, "enabled" String enabled = properties.getProperty("resource.altmetric", "enabled");
String displayTo = properties.getProperty("resource.altmetric.displayto", "right"); String displayTo = properties.getProperty("resource.altmetric.displayto", "right");
String badgeType = properties.getProperty("resource.altmetric.badge-type", "donut"); String badgeType = properties.getProperty("resource.altmetric.badge-type", "donut");
String badgeHideEmpty = properties.getProperty("resource.altmetric.hide-no-mentions", "true"); String badgeHideEmpty = properties.getProperty("resource.altmetric.hide-no-mentions", "true");