1
0
Fork 0
mirror of https://github.com/documize/community.git synced 2025-08-02 20:15:26 +02:00

Implement more re-branding updates

This commit is contained in:
HarveyKandola 2021-11-15 14:52:29 -05:00
parent 8976bf817b
commit 8fa5569ae5
7 changed files with 12 additions and 12 deletions

View file

@ -50,7 +50,7 @@ export default Component.extend(Modals, {
});
let version = this.get('appMeta.version');
let edition = this.get('appMeta.edition').toLowerCase();
let edition = encodeURIComponent(this.get('appMeta.edition').toLowerCase());
let self = this;
let cacheBuster = + new Date();

View file

@ -155,7 +155,7 @@ let constants = EmberObject.extend({
CommunityEdition: 'Community',
// EnterpriseEdition is proprietary closed-source product.
EnterpriseEdition: 'Enterprise',
EnterpriseEdition: 'Community+',
// PackageEssentials provides core capabilities.
PackageEssentials: "Essentials",

View file

@ -22,7 +22,7 @@ export default Controller.extend({
this._super(...arguments);
let version = this.get('appMeta.version');
let edition = this.get('appMeta.edition').toLowerCase();
let edition = encodeURIComponent(this.get('appMeta.edition').toLowerCase());
let self = this;
let cacheBuster = + new Date();

View file

@ -113,7 +113,7 @@ export default Service.extend({
let isNewEnterprise = miscUtil.isNewVersion(rv, ev, true);
if (re === 'Community' && isNewCommunity) self.set('updateAvailable', true);
if (re === 'Enterprise' && isNewEnterprise) self.set('updateAvailable', true);
if (re === 'Community+' && isNewEnterprise) self.set('updateAvailable', true);
});
return response;