diff --git a/app/models/company.js b/app/models/company.js index 6a65c52..4638b92 100644 --- a/app/models/company.js +++ b/app/models/company.js @@ -20,6 +20,7 @@ export default class CompanyModel extends Model { @attr('boolean') isHeadquarter; @attr('boolean') shownOnMainWebsite; @attr('boolean') shownOnGroupWebsite; + @attr('boolean') shownOnIcsfWebsite; @attr('string') coreActivity; @attr('string') history; @attr('number') rankOnGroupWebsite; diff --git a/app/pods/secure/companies/company/controller.js b/app/pods/secure/companies/company/controller.js index 65bb7c7..12b40b7 100644 --- a/app/pods/secure/companies/company/controller.js +++ b/app/pods/secure/companies/company/controller.js @@ -36,7 +36,8 @@ export default class CompanyController extends Controller { } this.company.setProperties({ shownOnMainWebsite: false, - shownOnGroupWebsite: false + shownOnGroupWebsite: false, + shownOnIcsfWebsite: false }); this.company.save(); } diff --git a/app/pods/secure/companies/company/template.hbs b/app/pods/secure/companies/company/template.hbs index 14be1ba..d865962 100644 --- a/app/pods/secure/companies/company/template.hbs +++ b/app/pods/secure/companies/company/template.hbs @@ -134,6 +134,15 @@ @attribute='shownOnGroupWebsite' @layout='horizontal' /> + + + {{/if}} {{#if company.public}}