Skip to content

Commit

Permalink
Additional message displayed on the application's page when there is …
Browse files Browse the repository at this point in the history
…no valid license #46

* update licensor version
  • Loading branch information
acotiuga committed Aug 28, 2019
1 parent ec8c063 commit 13dde02
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 9 deletions.
9 changes: 1 addition & 8 deletions application-xpoll-ui/src/main/resources/XPoll/WebHome.xml
Original file line number Diff line number Diff line change
Expand Up @@ -39,14 +39,7 @@
<minorEdit>false</minorEdit>
<syntaxId>xwiki/2.1</syntaxId>
<hidden>false</hidden>
<content>{{include reference="Licenses.Code.VelocityMacros"/}}

{{velocity}}
#set ($mainPageReference = $services.model.createDocumentReference('', ['XPoll'], 'WebHomeSheet'))
#if (!$services.licensing.licensor.hasLicensureForEntity($mainPageReference))
{{error}}#getMissingLicenseMessage('xpoll.extension.name'){{/error}}
#end
{{/velocity}}</content>
<content/>
<object>
<name>XPoll.WebHome</name>
<number>0</number>
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
<name>XPoll Application (Pro) Parent POM</name>
<description>XWiki Simple Poll Application - Doodle like</description>
<properties>
<licensing.version>1.14.1</licensing.version>
<licensing.version>1.14.3</licensing.version>
</properties>
<issueManagement>
<system>GitHub</system>
Expand Down

0 comments on commit 13dde02

Please sign in to comment.