From d3b2108ac263b75386a3fc6206fbf6e462bdf882 Mon Sep 17 00:00:00 2001 From: Eugenio Romano Date: Mon, 19 Dec 2016 17:38:06 +0000 Subject: [PATCH] add header missing app.component and minor clean --- demo-shell-ng2/app/app.component.html | 6 +----- demo-shell-ng2/app/app.component.ts | 2 +- demo-shell-ng2/app/app.module.ts | 1 - .../custom-editor/custom-editor.component.ts | 17 +++++++++++++++++ 4 files changed, 19 insertions(+), 7 deletions(-) diff --git a/demo-shell-ng2/app/app.component.html b/demo-shell-ng2/app/app.component.html index 9fba4758d4..5ee422e46d 100644 --- a/demo-shell-ng2/app/app.component.html +++ b/demo-shell-ng2/app/app.component.html @@ -17,13 +17,9 @@ diff --git a/demo-shell-ng2/app/app.component.ts b/demo-shell-ng2/app/app.component.ts index 7a07df8dd3..766bbdd6fd 100644 --- a/demo-shell-ng2/app/app.component.ts +++ b/demo-shell-ng2/app/app.component.ts @@ -52,7 +52,7 @@ export class AppComponent { translate.addTranslationFolder('custom', 'i18n/custom-translation'); translate.addTranslationFolder('ng2-alfresco-login', 'i18n/custom-translation/alfresco-login'); } else { - translate.addTranslationFolder('custom', 'custom-translation/'); + translate.addTranslationFolder('custom', 'custom-translation'); translate.addTranslationFolder('ng2-alfresco-login', 'custom-translation/alfresco-login'); } } diff --git a/demo-shell-ng2/app/app.module.ts b/demo-shell-ng2/app/app.module.ts index fcbb8ce04f..8be249c882 100644 --- a/demo-shell-ng2/app/app.module.ts +++ b/demo-shell-ng2/app/app.module.ts @@ -77,7 +77,6 @@ import { declarations: [ AppComponent, HomeComponent, - SearchBarComponent, DataTableDemoComponent, SearchComponent, SearchBarComponent, diff --git a/demo-shell-ng2/app/components/activiti/custom-editor/custom-editor.component.ts b/demo-shell-ng2/app/components/activiti/custom-editor/custom-editor.component.ts index b71a11ae3c..841fda57f0 100644 --- a/demo-shell-ng2/app/components/activiti/custom-editor/custom-editor.component.ts +++ b/demo-shell-ng2/app/components/activiti/custom-editor/custom-editor.component.ts @@ -1,3 +1,20 @@ +/*! + * @license + * Copyright 2016 Alfresco Software, Ltd. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + import { NgModule, Component } from '@angular/core'; import { WidgetComponent } from 'ng2-activiti-form';