rsanchez
2017-06-26 f7cac5003d5e55c58664832bf744cc9a06d806a6
#0 fix - Added frozen field to pack form
1 files deleted
2 files modified
changed files
securis/src/main/webapp/src/app/app.module2.ts patch | view | blame | history
securis/src/main/webapp/src/app/forms/pack.form.html patch | view | blame | history
securis/src/main/webapp/src/lang/messages_en.json patch | view | blame | history
securis/src/main/webapp/src/app/app.module2.ts
deleted file mode 100644
....@@ -1,31 +0,0 @@
1
-import { NgModule, Injectable, Component } from '@angular/core';
2
-import { HttpModule, Http } from '@angular/http';
3
-import { BrowserModule } from '@angular/platform-browser';
4
-
5
-@Component({
6
- selector: 'app-home',
7
- template: `<h2>Hola</h2>`
8
-
9
-})
10
-export class HomeComponent {
11
- constructor(private http : Http) {
12
- console.log('Http is injected ok: ' + http)
13
- }
14
-}
15
-
16
-@NgModule({
17
- imports: [
18
- BrowserModule, HttpModule
19
- ],
20
- declarations: [
21
- HomeComponent
22
- ],
23
- bootstrap: [ HomeComponent ],
24
- entryComponents: [ ],
25
- providers: [
26
- ]
27
-})
28
-export class AppModule2 { }
29
-
30
-
31
-CAIXABANK, S.A.
securis/src/main/webapp/src/app/forms/pack.form.html
....@@ -44,6 +44,11 @@
4444 <span i18n="field.license_preactivation"></span>
4545 </md-checkbox>
4646 </div>
47
+ <div layout="column" layout-fill flex>
48
+ <md-checkbox labelPosition="after" [(ngModel)]="data.frozen" name="frozen">
49
+ <span i18n="field.frozen"></span>
50
+ </md-checkbox>
51
+ </div>
4752 <field-readonly [value]="packs.getStatusName(data.status)" label="field.status" flex *ngIf="!isNew"></field-readonly>
4853 </div>
4954 <div layout="row" layout-fill layout-padding>
securis/src/main/webapp/src/lang/messages_en.json
....@@ -36,6 +36,7 @@
3636 "field.mandatory": "Required",
3737 "field.org_parent_id": "Parent organization",
3838 "field.name": "Name",
39
+ "field.frozen": "Frozen",
3940 "field.license_filename": "License filename",
4041 "field.description": "Description",
4142 "pack.status.CR": "Created",