1
0
Fork 0
mirror of https://github.com/documize/community.git synced 2025-07-24 07:39:43 +02:00

Display subscription information

This commit is contained in:
Harvey Kandola 2018-09-10 10:12:14 +01:00
parent 53e4861ded
commit 9ee9526a47
6 changed files with 708 additions and 684 deletions

View file

@ -12,9 +12,9 @@
import $ from 'jquery';
import { htmlSafe } from '@ember/string';
import { resolve } from 'rsvp';
import Service, { inject as service } from '@ember/service';
import miscUtil from '../utils/misc';
import config from '../config/environment';
import Service, { inject as service } from '@ember/service';
export default Service.extend({
ajax: service(),
@ -29,9 +29,6 @@ export default Service.extend({
version: '',
message: '',
edition: 'Community',
// for major.minor semver release detection
// for bugfix releases, only admin is made aware of new release and end users see no What's New messaging
updateAvailable: false,
valid: true,
allowAnonymousAccess: false,
authProvider: null,
@ -40,6 +37,10 @@ export default Service.extend({
secureMode: false,
maxTags: 3,
// for major.minor semver release detection
// for bugfix releases, only admin is made aware of new release and end users see no What's New messaging
updateAvailable: false,
invalidLicense() {
return this.valid === false;
},