From 47d76281810112d9d3037cd4a433d2920adda98b Mon Sep 17 00:00:00 2001 From: Nick dos Remedios Date: Wed, 20 May 2020 16:31:11 +1000 Subject: [PATCH 1/3] version 2.1.8-SNAPSHOT --- build.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.gradle b/build.gradle index 91952d2ac..bcaa5fa68 100644 --- a/build.gradle +++ b/build.gradle @@ -10,7 +10,7 @@ buildscript { } } -version "2.1.7-SNAPSHOT" +version "2.1.8-SNAPSHOT" group "au.org.ala.plugins.grails" apply plugin:"eclipse" From 68d60a3b80d1c55f0c5a90727445af63be5339af Mon Sep 17 00:00:00 2001 From: Nick dos Remedios Date: Thu, 21 May 2020 12:33:46 +1000 Subject: [PATCH 2/3] #360 allow voting buttons to be hidden --- build.gradle | 2 +- grails-app/views/occurrence/list.gsp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/build.gradle b/build.gradle index bcaa5fa68..40597d446 100644 --- a/build.gradle +++ b/build.gradle @@ -81,7 +81,7 @@ dependencies { compile "org.grails.plugins:ala-auth:3.2.2", noCache if(!inplace) { - compile "au.org.ala.plugins.grails:images-client-plugin:1.0", noCache + compile "au.org.ala.plugins.grails:images-client-plugin:1.2", noCache compile "au.org.ala.plugins.grails:ala-charts-plugin:2.0.1", noCache } diff --git a/grails-app/views/occurrence/list.gsp b/grails-app/views/occurrence/list.gsp index 813065f5f..dd5e3aee9 100644 --- a/grails-app/views/occurrence/list.gsp +++ b/grails-app/views/occurrence/list.gsp @@ -60,7 +60,7 @@ dislikeUrl: "${createLink(controller: 'imageClient', action: 'dislikeImage')}", userRatingUrl: "${createLink(controller: 'imageClient', action: 'userRating')}", disableLikeDislikeButton: ${authService.getUserId() ? false : true}, - addLikeDislikeButton: ${(grailsApplication.config.addLikeDislikeButton == false) ? false : true}, + addLikeDislikeButton: ${(grailsApplication.config.getProperty("addLikeDislikeButton", Boolean, false))}, addPreferenceButton: , userRatingHelpText: '
Up vote () an image:'+ ' Image supports the identification of the species or is representative of the species.  Subject is clearly visible including identifying features.

'+ From 5a1a87ef7190de342c95bb5e623d6d5cb62d8587 Mon Sep 17 00:00:00 2001 From: Nick dos Remedios Date: Tue, 7 Jul 2020 09:10:17 +1000 Subject: [PATCH 3/3] Release 2.1.8 --- build.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.gradle b/build.gradle index 40597d446..d126ebfaa 100644 --- a/build.gradle +++ b/build.gradle @@ -10,7 +10,7 @@ buildscript { } } -version "2.1.8-SNAPSHOT" +version "2.1.8" group "au.org.ala.plugins.grails" apply plugin:"eclipse"