-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
#3327: added further components, implemented ways of translation
- Loading branch information
Showing
26 changed files
with
576 additions
and
89 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
16 changes: 0 additions & 16 deletions
16
mdm-frontend/src/app/dataacquisitionprojectmanagement/current-project.service.spec.ts
This file was deleted.
Oops, something went wrong.
41 changes: 0 additions & 41 deletions
41
mdm-frontend/src/app/dataacquisitionprojectmanagement/current-project.service.ts
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 4 additions & 0 deletions
4
...quisitionprojectmanagement/project-cockpit/components/state-card/state-card.component.css
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
.state-card { | ||
background-color: white; | ||
box-shadow: 2px 2px 3px #c3c3c3; | ||
} |
23 changes: 23 additions & 0 deletions
23
...uisitionprojectmanagement/project-cockpit/components/state-card/state-card.component.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
<mat-card class="state-card"> | ||
<mat-card-header> | ||
<a ui-sref="search({type: searchState})" class="md-headline" layout="row" layout-align="start center"> | ||
<!-- Möglichkeit für variable Übersetzungsstrings --> | ||
<!-- <span i18n="@@state-card.card-title">{type, select, dataPackages {Datenpakete} variables {Variablen}}</span> --> | ||
<span>{{'test.title.'+type | translate }} ({{counts}})</span> | ||
</a> | ||
</mat-card-header> | ||
<mat-card-content> | ||
<div style="display: flex; flex-direction: row;"> | ||
<mat-checkbox [(ngModel)]="dataProviderReady" (change)="onDataProviderStateChanged($event)" i18n="@@state-card-provider-ready">Datengeber:innen fertig</mat-checkbox> | ||
<mat-checkbox [(ngModel)]="publisherReady" i18n="@@state-card-publisher-ready">Publisher fertig</mat-checkbox> | ||
</div> | ||
</mat-card-content> | ||
<mat-card-actions style="display: flex; flex-direction: row; justify-content: end;"> | ||
<button mat-raised-button disabled i18n="@@state-card-delete-btn"> | ||
Löschen | ||
</button> | ||
<button mat-raised-button disabled i18n="@@state-card-edit-btn"> | ||
Bearbeiten | ||
</button> | ||
</mat-card-actions> | ||
</mat-card> |
21 changes: 21 additions & 0 deletions
21
...itionprojectmanagement/project-cockpit/components/state-card/state-card.component.spec.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
import { ComponentFixture, TestBed } from '@angular/core/testing'; | ||
|
||
import { StateCardComponent } from './state-card.component'; | ||
|
||
describe('StateCardComponent', () => { | ||
let component: StateCardComponent; | ||
let fixture: ComponentFixture<StateCardComponent>; | ||
|
||
beforeEach(() => { | ||
TestBed.configureTestingModule({ | ||
declarations: [StateCardComponent] | ||
}); | ||
fixture = TestBed.createComponent(StateCardComponent); | ||
component = fixture.componentInstance; | ||
fixture.detectChanges(); | ||
}); | ||
|
||
it('should create', () => { | ||
expect(component).toBeTruthy(); | ||
}); | ||
}); |
Oops, something went wrong.